aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32/f4/Makefile.include
diff options
context:
space:
mode:
Diffstat (limited to 'examples/stm32/f4/Makefile.include')
-rw-r--r--examples/stm32/f4/Makefile.include6
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/stm32/f4/Makefile.include b/examples/stm32/f4/Makefile.include
index 815f375..ede4288 100644
--- a/examples/stm32/f4/Makefile.include
+++ b/examples/stm32/f4/Makefile.include
@@ -39,7 +39,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 \
+CFLAGS += -Os -g \
+ -Wall -Wextra -Wimplicit-function-declaration \
+ -Wredundant-decls -Wmissing-prototypes -Wstrict-prototypes \
+ -Wundef -Wshadow \
+ -I$(TOOLCHAIN_DIR)/include \
-fno-common -mcpu=cortex-m4 -mthumb \
-mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -DSTM32F4
LDSCRIPT ?= $(BINARY).ld