Skip to content

Commit b1021d5

Browse files
committed
add TUP_RHPORT_HIGHSPEED for ch32v307
1 parent 160d64b commit b1021d5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/common/tusb_mcu.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@
278278
//------------- WCH -------------//
279279
#elif TU_CHECK_MCU(OPT_MCU_CH32V307)
280280
#define TUP_DCD_ENDPOINT_MAX 16
281-
281+
#define TUP_RHPORT_HIGHSPEED 1
282282
#endif
283283

284284
//--------------------------------------------------------------------+

src/tusb_option.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ typedef int make_iso_compilers_happy;
161161
#define OPT_MCU_F1C100S 2100 ///< Allwinner F1C100s family
162162

163163
// WCH
164-
#define OPT_MCU_CH32V307 2200 ///< WCH CH32V307 config
164+
#define OPT_MCU_CH32V307 2200 ///< WCH CH32V307
165165

166166
// Helper to check if configured MCU is one of listed
167167
// Apply _TU_CHECK_MCU with || as separator to list of input

0 commit comments

Comments
 (0)