mirror of
https://github.com/hathach/tinyusb.git
synced 2025-02-22 06:40:58 +00: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_InitStructure.GPIO_Speed = GPIO_Speed_50MHz;
|
||||||
GPIO_Init(GPIOC, &GPIO_InitStructure);
|
GPIO_Init(GPIOC, &GPIO_InitStructure);
|
||||||
|
|
||||||
/* Enable interrupts globaly */
|
/* Enable interrupts globally */
|
||||||
__enable_irq();
|
__enable_irq();
|
||||||
|
|
||||||
board_delay(2);
|
board_delay(2);
|
||||||
|
@ -32,6 +32,9 @@ CFLAGS += \
|
|||||||
-Xlinker --gc-sections \
|
-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 += \
|
LDFLAGS += \
|
||||||
-Xlinker --gc-sections --specs=nano.specs --specs=nosys.specs
|
-Xlinker --gc-sections --specs=nano.specs --specs=nosys.specs
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user