summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorMatthew Tran <[email protected]>2023-11-19 18:26:40 -0800
committerhathach <[email protected]>2024-05-15 20:01:00 +0700
commitdb60fa1c63ae58c205e43e144253dab6815bb2d1 (patch)
treef15653fde2d8eb2e2c43eee8eec0bc687a068720 /src/common
parentcf532d14792411fd40ad3433fe0ce9959887ef4b (diff)
add CH32V20x USB OTG/FS driver
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 3a7d6ad33..eab112015 100644
--- a/src/common/tusb_mcu.h
+++ b/src/common/tusb_mcu.h
@@ -410,6 +410,10 @@
#elif TU_CHECK_MCU(OPT_MCU_CH32F20X)
#define TUP_DCD_ENDPOINT_MAX 16
#define TUP_RHPORT_HIGHSPEED 1
+
+#elif TU_CHECK_MCU(OPT_MCU_CH32V20X)
+ #define TUP_DCD_ENDPOINT_MAX 8
+
#endif