enable -Wcast-align
suppress vendor sdk driver at board.mk
This commit is contained in:
@@ -9,6 +9,9 @@ CFLAGS += \
|
||||
-DSTM32F405xx \
|
||||
-DCFG_TUSB_MCU=OPT_MCU_STM32F4
|
||||
|
||||
# suppress warning caused by vendor mcu driver
|
||||
CFLAGS += -Wno-error=cast-align
|
||||
|
||||
ST_HAL_DRIVER = hw/mcu/st/st_driver/STM32F4xx_HAL_Driver
|
||||
ST_CMSIS = hw/mcu/st/st_driver/CMSIS/Device/ST/STM32F4xx
|
||||
|
||||
|
||||
Reference in New Issue
Block a user