add TUP_RHPORT_HIGHSPEED for ch32v307

This commit is contained in:
hathach 2023-01-12 15:38:18 +07:00
parent 160d64b00a
commit b1021d53f3
2 changed files with 2 additions and 2 deletions

View File

@ -278,7 +278,7 @@
//------------- WCH -------------//
#elif TU_CHECK_MCU(OPT_MCU_CH32V307)
#define TUP_DCD_ENDPOINT_MAX 16
#define TUP_RHPORT_HIGHSPEED 1
#endif
//--------------------------------------------------------------------+

View File

@ -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