aboutsummaryrefslogtreecommitdiff
path: root/lib/lpc17xx/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/lpc17xx/Makefile')
-rw-r--r--lib/lpc17xx/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/lpc17xx/Makefile b/lib/lpc17xx/Makefile
index 19fc152..cbd4252 100644
--- a/lib/lpc17xx/Makefile
+++ b/lib/lpc17xx/Makefile
@@ -23,7 +23,11 @@ PREFIX ?= arm-none-eabi
#PREFIX ?= arm-elf
CC = $(PREFIX)-gcc
AR = $(PREFIX)-ar
-CFLAGS = -O0 -g -Wall -Wextra -I../../include -fno-common \
+CFLAGS = -O0 -g \
+ -Wall -Wextra -Wimplicit-function-declaration \
+ -Wredundant-decls -Wmissing-prototypes -Wstrict-prototypes \
+ -Wundef -Wshadow \
+ -I../../include -fno-common \
-mcpu=cortex-m3 -mthumb -Wstrict-prototypes \
-ffunction-sections -fdata-sections -MD -DLPC17XX
# ARFLAGS = rcsv