From b0233ae6fbf066a26667be713839887f73dc6ece Mon Sep 17 00:00:00 2001 From: Piotr Esden-Tempski Date: Tue, 26 Feb 2013 16:42:20 -0800 Subject: Added more warning CFLAGS to all makefiles. --- examples/stm32/l1/Makefile.include | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'examples/stm32/l1/Makefile.include') diff --git a/examples/stm32/l1/Makefile.include b/examples/stm32/l1/Makefile.include index 57b7030..e65cdb5 100644 --- a/examples/stm32/l1/Makefile.include +++ b/examples/stm32/l1/Makefile.include @@ -38,7 +38,11 @@ endif endif ARCH_FLAGS = -mthumb -mcpu=cortex-m3 -msoft-float -CFLAGS += -Os -g -Wall -Wextra -I$(TOOLCHAIN_DIR)/include \ +CFLAGS += -Os -g \ + -Wall -Wextra -Wimplicit-function-declaration \ + -Wredundant-decls -Wmissing-prototypes -Wstrict-prototypes \ + -Wundef -Wshadow \ + -I$(TOOLCHAIN_DIR)/include \ -fno-common $(ARCH_FLAGS) -MD -DSTM32L1 LDSCRIPT ?= $(BINARY).ld LDFLAGS += --static -Wl,--start-group -lc -lgcc -lnosys -Wl,--end-group \ -- cgit v1.2.3