mirror of
https://github.com/hathach/tinyusb.git
synced 2025-02-22 06:40:58 +00:00
Add correct endpoint count for GD32VF103
This controller family only supports USB FS with four endpoints
This commit is contained in:
parent
c6d495d643
commit
7682829820
@ -147,6 +147,10 @@
|
|||||||
//#elif TU_CHECK_MCU(MM32F327X)
|
//#elif TU_CHECK_MCU(MM32F327X)
|
||||||
// #define DCD_ATTR_ENDPOINT_MAX not known yet
|
// #define DCD_ATTR_ENDPOINT_MAX not known yet
|
||||||
|
|
||||||
|
//------------- GigaDevice -------------//
|
||||||
|
#elif TU_CHECK_MCU(GD32VF103)
|
||||||
|
#define DCD_ATTR_ENDPOINT_MAX 4
|
||||||
|
|
||||||
#else
|
#else
|
||||||
#warning "DCD_ATTR_ENDPOINT_MAX is not defined for this MCU, default to 8"
|
#warning "DCD_ATTR_ENDPOINT_MAX is not defined for this MCU, default to 8"
|
||||||
#define DCD_ATTR_ENDPOINT_MAX 8
|
#define DCD_ATTR_ENDPOINT_MAX 8
|
||||||
|
Loading…
x
Reference in New Issue
Block a user