summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhathach <[email protected]>2023-01-12 15:38:18 +0700
committerhathach <[email protected]>2023-01-12 15:38:18 +0700
commitb1021d53f3617491656c50f6a1cb2c21da029f6a (patch)
tree3916a58c46e9c6db03a9420aa5e349c24ba39ca2
parent160d64b00a1b4ad46cd61cba3b649a07901d3c65 (diff)
add TUP_RHPORT_HIGHSPEED for ch32v307
-rw-r--r--src/common/tusb_mcu.h2
-rw-r--r--src/tusb_option.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/common/tusb_mcu.h b/src/common/tusb_mcu.h
index b37ce9a34..0b10c5118 100644
--- a/src/common/tusb_mcu.h
+++ b/src/common/tusb_mcu.h
@@ -278,7 +278,7 @@
//------------- WCH -------------//
#elif TU_CHECK_MCU(OPT_MCU_CH32V307)
#define TUP_DCD_ENDPOINT_MAX 16
-
+ #define TUP_RHPORT_HIGHSPEED 1
#endif
//--------------------------------------------------------------------+
diff --git a/src/tusb_option.h b/src/tusb_option.h
index 92fbbd33f..67377b7ec 100644
--- a/src/tusb_option.h
+++ b/src/tusb_option.h
@@ -161,7 +161,7 @@ typedef int make_iso_compilers_happy;
#define OPT_MCU_F1C100S 2100 ///< Allwinner F1C100s family
// WCH
-#define OPT_MCU_CH32V307 2200 ///< WCH CH32V307 config
+#define OPT_MCU_CH32V307 2200 ///< WCH CH32V307
// Helper to check if configured MCU is one of listed
// Apply _TU_CHECK_MCU with || as separator to list of input