From 3156ee1acbd776cef5e2f09a4adbe30f4f3eed07 Mon Sep 17 00:00:00 2001 From: Hierophect Date: Fri, 6 Sep 2019 11:28:57 -0400 Subject: [PATCH] Re-apply warning as error --- ports/stm32f4/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ports/stm32f4/Makefile b/ports/stm32f4/Makefile index 9547802d71..f3558588b6 100755 --- a/ports/stm32f4/Makefile +++ b/ports/stm32f4/Makefile @@ -105,8 +105,7 @@ endif C_DEFS += -DMCU_PACKAGE=$(MCU_PACKAGE) -#TODO: Add ASM Flags? -Werror -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) # Undo some warnings. # STM32 apparently also uses undefined preprocessor variables quite casually,