diff options
Diffstat (limited to 'src/stm')
-rw-r--r-- | src/stm/Makefile.defs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/stm/Makefile.defs b/src/stm/Makefile.defs index 8173b349..7130965a 100644 --- a/src/stm/Makefile.defs +++ b/src/stm/Makefile.defs @@ -24,7 +24,12 @@ include $(TOPDIR)/Makedefs CC=$(ARM_CC) LIBS=-L$(NEWLIB_NANO)/arm-none-eabi/lib/thumb/v7-m -lm -lc -lgcc -WARN_FLAGS=-Wall -Wextra -Werror +WARN_FLAGS=-Wall -Wextra -Werror -Wcast-align \ + -Wpointer-arith \ + -Wstrict-prototypes \ + -Wmissing-prototypes \ + -Wmissing-declarations \ + -Wnested-externs AO_CFLAGS=-I. -I../stm -I../kernel -I../drivers -I../math -I../draw \ -DNEWLIB_INTEGER_PRINTF_SCANF \ |