mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-31 05:52:55 +08:00
temporarily suppress redundant-decls due to USART_Printf_Init()
fix codespell
This commit is contained in:
parent
949950e592
commit
a7e1de1e83
@ -85,7 +85,7 @@ void board_init(void) {
|
||||
GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz;
|
||||
GPIO_Init(GPIOC, &GPIO_InitStructure);
|
||||
|
||||
/* Enable interrupts globaly */
|
||||
/* Enable interrupts globally */
|
||||
__enable_irq();
|
||||
|
||||
board_delay(2);
|
||||
|
@ -30,7 +30,10 @@ CFLAGS += \
|
||||
-nostdlib -nostartfiles \
|
||||
-DCFG_TUSB_MCU=OPT_MCU_CH32V307 \
|
||||
-Xlinker --gc-sections \
|
||||
-DBOARD_DEVICE_RHPORT_SPEED=OPT_MODE_HIGH_SPEED
|
||||
-DBOARD_DEVICE_RHPORT_SPEED=OPT_MODE_HIGH_SPEED
|
||||
|
||||
# caused by extra void USART_Printf_Init() in debug_uart.h and EVT/EXAME/SRC/DEBUG/debug.h
|
||||
CFLAGS += -Wno-error=redundant-decls
|
||||
|
||||
LDFLAGS += \
|
||||
-Xlinker --gc-sections --specs=nano.specs --specs=nosys.specs
|
||||
|
Loading…
x
Reference in New Issue
Block a user