Fix typo
This commit is contained in:
@@ -28,7 +28,7 @@ CFLAGS += \
|
|||||||
-ffunction-sections \
|
-ffunction-sections \
|
||||||
-fdata-sections \
|
-fdata-sections \
|
||||||
-nostdlib -nostartfiles \
|
-nostdlib -nostartfiles \
|
||||||
-DCFG_TUSB_MCU=OPT_MCU_CH32VF307 \
|
-DCFG_TUSB_MCU=OPT_MCU_CH32V307 \
|
||||||
-Xlinker --gc-sections \
|
-Xlinker --gc-sections \
|
||||||
-DBOARD_DEVICE_RHPORT_SPEED=OPT_MODE_HIGH_SPEED
|
-DBOARD_DEVICE_RHPORT_SPEED=OPT_MODE_HIGH_SPEED
|
||||||
|
|
||||||
|
@@ -267,7 +267,7 @@
|
|||||||
#define TUP_DCD_ENDPOINT_MAX 4
|
#define TUP_DCD_ENDPOINT_MAX 4
|
||||||
|
|
||||||
//------------- WCH -------------//
|
//------------- WCH -------------//
|
||||||
#elif TU_CHECK_MCU(OPT_MCU_CH32VF307)
|
#elif TU_CHECK_MCU(OPT_MCU_CH32V307)
|
||||||
#define TUP_DCD_ENDPOINT_MAX 8
|
#define TUP_DCD_ENDPOINT_MAX 8
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
#include "tusb_option.h"
|
#include "tusb_option.h"
|
||||||
|
|
||||||
#if CFG_TUD_ENABLED && (CFG_TUSB_MCU == OPT_MCU_CH32VF307)
|
#if CFG_TUD_ENABLED && (CFG_TUSB_MCU == OPT_MCU_CH32V307)
|
||||||
#include "device/dcd.h"
|
#include "device/dcd.h"
|
||||||
|
|
||||||
#include "usb_ch32_usbhs_reg.h"
|
#include "usb_ch32_usbhs_reg.h"
|
||||||
|
@@ -150,7 +150,7 @@
|
|||||||
#define OPT_MCU_F1C100S 2100 ///< Allwinner F1C100s family
|
#define OPT_MCU_F1C100S 2100 ///< Allwinner F1C100s family
|
||||||
|
|
||||||
// WCH
|
// WCH
|
||||||
#define OPT_MCU_CH32VF307 2200 ///< WCH CH32V307 config
|
#define OPT_MCU_CH32V307 2200 ///< WCH CH32V307 config
|
||||||
|
|
||||||
// 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
|
||||||
|
Reference in New Issue
Block a user