diff --git a/mk/board_avr.mk b/mk/board_avr.mk index 678be9b3fb..f1d2357089 100644 --- a/mk/board_avr.mk +++ b/mk/board_avr.mk @@ -11,7 +11,7 @@ DEFINES += -DSKETCH=\"$(SKETCH)\" -DAPM_BUILD_DIRECTORY=APM_BUILD_$(SKE DEFINES += $(EXTRAFLAGS) # from user config.mk DEFINES += -DCONFIG_HAL_BOARD=$(HAL_BOARD) WARNFLAGS = -Wformat -Wall -Wshadow -Wpointer-arith -Wcast-align -WARNFLAGS += -Wwrite-strings -Wformat=2 +WARNFLAGS += -Wwrite-strings -Wformat=2 -Wno-unused-parameter -Wno-missing-field-initializers WARNFLAGSCXX = -Wno-reorder DEPFLAGS = -MD -MT $@