summaryrefslogtreecommitdiff
path: root/examples/make.mk
diff options
context:
space:
mode:
authorhathach <[email protected]>2020-05-17 14:24:15 +0700
committerhathach <[email protected]>2020-05-17 14:24:15 +0700
commit1a8ce043ed937012454e5b79396455f9c5568a68 (patch)
tree517f9a593b69c11f09aeef46af1ee202d3475996 /examples/make.mk
parent17869f0999d275ec6a8830c95999998f0f84fd03 (diff)
enable -Wcast-align
suppress vendor sdk driver at board.mk
Diffstat (limited to 'examples/make.mk')
-rw-r--r--examples/make.mk8
1 files changed, 3 insertions, 5 deletions
diff --git a/examples/make.mk b/examples/make.mk
index 449dc899d..2ea50753b 100644
--- a/examples/make.mk
+++ b/examples/make.mk
@@ -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