summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2023-11-24 13:21:38 +0700
committerGitHub <[email protected]>2023-11-24 13:21:38 +0700
commitf03f60eae2894993373b48e2104bf02116bef1fa (patch)
treeca928a5957eff4c73aee2a9454b5108cb2fe0496 /src/common
parentd6b8b3515df4bb83b6038bd60260771e65af8de7 (diff)
parentb6059fa942897d3037e6dce2a6f4082b9f2ebb57 (diff)
Merge pull request #2278 from Krasutski/feature/ch32f20x
Add CH32F20x support
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