aboutsummaryrefslogtreecommitdiff
path: root/examples/lpc17xx
diff options
context:
space:
mode:
authorPiotr Esden-Tempski2013-02-26 16:42:20 -0800
committerPiotr Esden-Tempski2013-02-26 16:42:20 -0800
commitb0233ae6fbf066a26667be713839887f73dc6ece (patch)
tree4141c5222e2c0df9b3f8fc63d3177d0eb11dc316 /examples/lpc17xx
parentc51e01e0fe514a289b67ddd7c797827f7fe42b62 (diff)
Added more warning CFLAGS to all makefiles.
Diffstat (limited to 'examples/lpc17xx')
-rw-r--r--examples/lpc17xx/Makefile.include6
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/lpc17xx/Makefile.include b/examples/lpc17xx/Makefile.include
index 9c38a68..0a29041 100644
--- a/examples/lpc17xx/Makefile.include
+++ b/examples/lpc17xx/Makefile.include
@@ -36,7 +36,11 @@ $(info We seem to be building the example in the source directory. Using local l
endif
endif
-CFLAGS += -O0 -g -Wall -Wextra -I$(TOOLCHAIN_DIR)/include -fno-common \
+CFLAGS += -O0 -g \
+ -Wall -Wextra -Wimplicit-function-declaration \
+ -Wredundant-decls -Wmissing-prototypes -Wstrict-prototypes \
+ -Wundef -Wshadow \
+ -I$(TOOLCHAIN_DIR)/include -fno-common \
-mcpu=cortex-m3 -mthumb -MD -DLPC17XX
LDSCRIPT ?= $(BINARY).ld
LDFLAGS += -L$(TOOLCHAIN_DIR)/lib \