summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorhathach <[email protected]>2023-11-24 15:57:06 +0700
committerhathach <[email protected]>2023-11-24 15:57:06 +0700
commit5e54bd37b694542e3f719b9c3f151b8e7e26e86a (patch)
treebbbe59e6875ea1c088a1bdd0e0f048890c15ee47 /src/common
parent8bac68db84ccbf4f9fbd0d6075b6a1b0253c081a (diff)
parentf03f60eae2894993373b48e2104bf02116bef1fa (diff)
Merge branch 'master' into bth
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 1797f0bc4..6fab190ea 100644
--- a/src/common/tusb_mcu.h
+++ b/src/common/tusb_mcu.h
@@ -388,6 +388,10 @@
#elif TU_CHECK_MCU(OPT_MCU_CH32V307)
#define TUP_DCD_ENDPOINT_MAX 16
#define TUP_RHPORT_HIGHSPEED 1
+
+#elif TU_CHECK_MCU(OPT_MCU_CH32F20X)
+ #define TUP_DCD_ENDPOINT_MAX 16
+ #define TUP_RHPORT_HIGHSPEED 1
#endif