enable -Wcast-align

suppress vendor sdk driver at board.mk
This commit is contained in:
hathach
2020-05-17 14:24:15 +07:00
parent 17869f0999
commit 1a8ce043ed
23 changed files with 50 additions and 41 deletions

View File

@@ -63,11 +63,9 @@ CFLAGS += \
-Wwrite-strings \
-Wsign-compare \
-Wmissing-format-attribute \
-Wunreachable-code
# This causes lots of warning with nrf5x build due to nrfx code
# CFLAGS += -Wcast-align
-Wunreachable-code \
-Wcast-align
# Debugging/Optimization
ifeq ($(DEBUG), 1)
CFLAGS += -Og -ggdb