mirror of
https://github.com/hathach/tinyusb.git
synced 2025-10-29 19:49:07 +00:00
Fix AT32F405xx missing USB HS definition
This commit is contained in:
parent
51533129cf
commit
2298c2f410
@ -601,6 +601,15 @@
|
||||
#define TUP_USBIP_DWC2_AT32
|
||||
#define TUP_DCD_ENDPOINT_MAX 8
|
||||
|
||||
// AT32F405xx has on-chip HS PHY
|
||||
#if defined(AT32F405CBT7) || defined(AT32F405CBU7) || \
|
||||
defined(AT32F405CCT7) || defined(AT32F405CCU7) || \
|
||||
defined(AT32F405KBU7_4) || defined(AT32F405KCU7_4) || \
|
||||
defined(AT32F405RBT7_7) || defined(AT32F405RBT7) || \
|
||||
defined(AT32F405RCT7_7) || defined(AT32F405RCT7)
|
||||
#define TUP_RHPORT_HIGHSPEED 1 // Port0: FS, Port1: HS
|
||||
#endif
|
||||
|
||||
#elif TU_CHECK_MCU(OPT_MCU_AT32F425)
|
||||
#define TUP_USBIP_DWC2
|
||||
#define TUP_USBIP_DWC2_AT32
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user