summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorhathach <[email protected]>2023-11-24 17:49:43 +0700
committerhathach <[email protected]>2023-11-24 17:49:43 +0700
commit111b21e76703ee0d2d0190c349b1aa3d797a72e5 (patch)
tree3ecaaaf1115cc538d8ee71a4361f0d70f108e8a1 /src/common
parent68894398af9e8a096c700b7a4e8c127e53a2d6bc (diff)
parentf03f60eae2894993373b48e2104bf02116bef1fa (diff)
Merge branch 'master' into feature/isr_event_hook
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