1 parent bc37649 commit 3156ee1Copy full SHA for 3156ee1
1 file changed
ports/stm32f4/Makefile
@@ -105,8 +105,7 @@ endif
105
106
C_DEFS += -DMCU_PACKAGE=$(MCU_PACKAGE)
107
108
-#TODO: Add ASM Flags? -Werror
109
-CFLAGS += $(INC) -Wall -std=gnu11 -nostdlib $(BASE_CFLAGS) $(C_DEFS) $(CFLAGS_MOD) $(COPT)
+CFLAGS += $(INC) -Werror -Wall -std=gnu11 -nostdlib $(BASE_CFLAGS) $(C_DEFS) $(CFLAGS_MOD) $(COPT)
110
111
# Undo some warnings.
112
# STM32 apparently also uses undefined preprocessor variables quite casually,
0 commit comments