aboutsummaryrefslogtreecommitdiff
path: root/lib/stm32/l1/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/stm32/l1/Makefile')
-rw-r--r--lib/stm32/l1/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/stm32/l1/Makefile b/lib/stm32/l1/Makefile
index 9b677ab..e081daf 100644
--- a/lib/stm32/l1/Makefile
+++ b/lib/stm32/l1/Makefile
@@ -23,7 +23,11 @@ PREFIX ?= arm-none-eabi
#PREFIX ?= arm-elf
CC = $(PREFIX)-gcc
AR = $(PREFIX)-ar
-CFLAGS = -Os -g -Wall -Wextra -I../../../include -fno-common \
+CFLAGS = -Os -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 -DSTM32L1
# ARFLAGS = rcsv