X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fstm%2FMakefile.defs;fp=src%2Fstm%2FMakefile.defs;h=7130965acfc9b431fb7a32e9b10be2789c1b9386;hb=ebb8ab6a2f5f1245098ad68d0cd007d3f115a24d;hp=8173b349c33446f6ba14e7bc644e400746c7c001;hpb=d6c3c3618a708d2a1a7948454710e6ae21c2a426;p=fw%2Faltos 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 \