enable -Wcast-align
suppress vendor sdk driver at board.mk
This commit is contained in:
@@ -9,8 +9,8 @@ CFLAGS += \
|
||||
-DSTM32F746xx \
|
||||
-DCFG_TUSB_MCU=OPT_MCU_STM32F7
|
||||
|
||||
# mcu driver cause following warnings
|
||||
CFLAGS += -Wno-error=shadow
|
||||
# suppress warning caused by vendor mcu driver
|
||||
CFLAGS += -Wno-error=cast-align -Wno-error=shadow
|
||||
|
||||
ST_HAL_DRIVER = hw/mcu/st/st_driver/STM32F7xx_HAL_Driver
|
||||
ST_CMSIS = hw/mcu/st/st_driver/CMSIS/Device/ST/STM32F7xx
|
||||
|
||||
Reference in New Issue
Block a user