enable -Wnull-dereference

This commit is contained in:
hathach
2021-10-18 00:13:40 +07:00
parent 099d3b377f
commit 826b34a8ac
3 changed files with 9 additions and 3 deletions

View File

@@ -12,7 +12,7 @@ CFLAGS += \
-DCFG_TUSB_MCU=OPT_MCU_SAMG
# suppress following warnings from mcu driver
CFLAGS += -Wno-error=undef -Wno-error=cast-qual
CFLAGS += -Wno-error=undef -Wno-error=cast-qual -Wno-error=null-dereference
ASF_DIR = hw/mcu/microchip/samg55