add -Wextra for more warnings to example
non-stack warning (probably mcu driver) should be suppressed in the board.mk
This commit is contained in:
@@ -7,8 +7,8 @@ CFLAGS += \
|
||||
-DCFG_TUSB_MCU=OPT_MCU_LPC43XX \
|
||||
-D__USE_LPCOPEN
|
||||
|
||||
# lpc_types.h cause following errors
|
||||
CFLAGS += -Wno-error=strict-prototypes
|
||||
# mcu driver cause following warnings
|
||||
CFLAGS += -Wno-error=strict-prototypes -Wno-error=unused-parameter
|
||||
|
||||
MCU_DIR = hw/mcu/nxp/lpc_driver/lpc43xx/lpc_chip_43xx
|
||||
|
||||
|
||||
Reference in New Issue
Block a user