temporarily suppress redundant-decls due to USART_Printf_Init()

fix codespell
This commit is contained in:
hathach 2023-01-08 00:02:17 +07:00
parent 949950e592
commit a7e1de1e83
No known key found for this signature in database
GPG Key ID: F5D50C6D51D17CBA
2 changed files with 5 additions and 2 deletions

View File

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

View File

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