We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5153312 + 2298c2f commit a014df9Copy full SHA for a014df9
src/common/tusb_mcu.h
@@ -601,6 +601,15 @@
601
#define TUP_USBIP_DWC2_AT32
602
#define TUP_DCD_ENDPOINT_MAX 8
603
604
+ // AT32F405xx has on-chip HS PHY
605
+ #if defined(AT32F405CBT7) || defined(AT32F405CBU7) || \
606
+ defined(AT32F405CCT7) || defined(AT32F405CCU7) || \
607
+ defined(AT32F405KBU7_4) || defined(AT32F405KCU7_4) || \
608
+ defined(AT32F405RBT7_7) || defined(AT32F405RBT7) || \
609
+ defined(AT32F405RCT7_7) || defined(AT32F405RCT7)
610
+ #define TUP_RHPORT_HIGHSPEED 1 // Port0: FS, Port1: HS
611
+ #endif
612
+
613
#elif TU_CHECK_MCU(OPT_MCU_AT32F425)
614
#define TUP_USBIP_DWC2
615
0 commit comments