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:
@@ -9,7 +9,10 @@ CFLAGS += \
|
||||
-DCONFIG_GPIO_AS_PINRESET
|
||||
|
||||
# nrfx issue undef _ARMCC_VERSION usage https://github.com/NordicSemiconductor/nrfx/issues/49
|
||||
CFLAGS += -Wno-error=undef
|
||||
CFLAGS += -Wno-error=undef -Wno-error=unused-parameter
|
||||
|
||||
# due to tusb_hal_nrf_power_event
|
||||
CFLAGS += -Wno-error=cast-function-type
|
||||
|
||||
# All source paths should be relative to the top level.
|
||||
LD_FILE = hw/bsp/feather_nrf52840_express/nrf52840_s140_v6.ld
|
||||
|
||||
Reference in New Issue
Block a user