mirror of
https://github.com/hathach/tinyusb.git
synced 2025-04-25 12:02:30 +00:00
add TUP_RHPORT_HIGHSPEED for ch32v307
This commit is contained in:
parent
160d64b00a
commit
b1021d53f3
@ -278,7 +278,7 @@
|
|||||||
//------------- WCH -------------//
|
//------------- WCH -------------//
|
||||||
#elif TU_CHECK_MCU(OPT_MCU_CH32V307)
|
#elif TU_CHECK_MCU(OPT_MCU_CH32V307)
|
||||||
#define TUP_DCD_ENDPOINT_MAX 16
|
#define TUP_DCD_ENDPOINT_MAX 16
|
||||||
|
#define TUP_RHPORT_HIGHSPEED 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//--------------------------------------------------------------------+
|
//--------------------------------------------------------------------+
|
||||||
|
@ -161,7 +161,7 @@ typedef int make_iso_compilers_happy;
|
|||||||
#define OPT_MCU_F1C100S 2100 ///< Allwinner F1C100s family
|
#define OPT_MCU_F1C100S 2100 ///< Allwinner F1C100s family
|
||||||
|
|
||||||
// WCH
|
// 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
|
// Helper to check if configured MCU is one of listed
|
||||||
// Apply _TU_CHECK_MCU with || as separator to list of input
|
// Apply _TU_CHECK_MCU with || as separator to list of input
|
||||||
|
Loading…
x
Reference in New Issue
Block a user