aboutsummaryrefslogtreecommitdiff
path: root/examples/lpc13xx
diff options
context:
space:
mode:
Diffstat (limited to 'examples/lpc13xx')
-rw-r--r--examples/lpc13xx/Makefile.include6
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/lpc13xx/Makefile.include b/examples/lpc13xx/Makefile.include
index 0b22063..049382f 100644
--- a/examples/lpc13xx/Makefile.include
+++ b/examples/lpc13xx/Makefile.include
@@ -36,7 +36,11 @@ $(info We seem to be building the example in the source directory. Using local l
endif
endif
-CFLAGS += -Os -g -Wall -Wextra -I$(TOOLCHAIN_DIR)/include -fno-common \
+CFLAGS += -Os -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 -DLPC13XX
LDSCRIPT ?= $(BINARY).ld
LDFLAGS += -L$(TOOLCHAIN_DIR)/lib \