summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authordenis.krasutski <denis.krasutski>2023-10-06 13:04:54 +0300
committerdenis.krasutski <denis.krasutski>2023-10-06 13:04:54 +0300
commitce627f431831e1fbaa3bb7bad35a489b8006b749 (patch)
tree47837c37d0d3ab4ea55075347298d33970685f7a /src/common
parent513ab37ec6f394d5332d159a62afa468a1a0a7cb (diff)
feat(ch32f20x): add support of ch32f20x
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 8807ff8aa..a72976ae9 100644
--- a/src/common/tusb_mcu.h
+++ b/src/common/tusb_mcu.h
@@ -383,6 +383,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