summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2022-10-19 23:10:30 +0700
committerGitHub <[email protected]>2022-10-19 23:10:30 +0700
commit39be00975cc5a1238e25650a2b1524635893f07d (patch)
treeb998e4b2db47ea66ac1de313c9073412cce1c675 /src/common
parente79325adec150d232416c30e0a587dda9942874b (diff)
parent4238467b2d78fcb11ba63026daa525d1c09e17ac (diff)
Merge pull request #1680 from LynnL4/port-stm32u5xx
Port stm32u5xx
Diffstat (limited to 'src/common')
-rw-r--r--src/common/tusb_mcu.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/common/tusb_mcu.h b/src/common/tusb_mcu.h
index 514ffcd4d..86c68baf8 100644
--- a/src/common/tusb_mcu.h
+++ b/src/common/tusb_mcu.h
@@ -189,6 +189,11 @@
#elif TU_CHECK_MCU(OPT_MCU_STM32WB)
#define TUP_DCD_ENDPOINT_MAX 8
+#elif TU_CHECK_MCU(OPT_MCU_STM32U5)
+ #define TUP_USBIP_DWC2
+ #define TUP_USBIP_DWC2_STM32
+ #define TUP_DCD_ENDPOINT_MAX 6
+
//------------- Sony -------------//
#elif TU_CHECK_MCU(OPT_MCU_CXD56)
#define TUP_DCD_ENDPOINT_MAX 7