summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorGreg Davill <[email protected]>2022-03-21 10:01:11 +1030
committerGreg Davill <[email protected]>2022-03-22 00:30:46 +1030
commitfccbcfc88977ebdfb1448f6787cb052cfa949788 (patch)
treebf1843b534329c82e94a095543a8c140e200f269 /src/common
parentae531a79f654d566790a4daae350730cdc0a01e9 (diff)
Add WCH CH32V307 port
Add WCH mcu submodule Add CH32V307V-R1-1v0 bsp
Diffstat (limited to 'src/common')
-rw-r--r--src/common/tusb_mcu.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/tusb_mcu.h b/src/common/tusb_mcu.h
index 8eb4ad475..84d629eac 100644
--- a/src/common/tusb_mcu.h
+++ b/src/common/tusb_mcu.h
@@ -266,6 +266,10 @@
#elif TU_CHECK_MCU(OPT_MCU_F1C100S)
#define TUP_DCD_ENDPOINT_MAX 4
+//------------- WCH -------------//
+#elif TU_CHECK_MCU(OPT_MCU_CH32VF307)
+ #define TUP_DCD_ENDPOINT_MAX 8
+
#endif
//--------------------------------------------------------------------+