summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHierophect <hierophect@gmail.com>2019-09-06 11:28:57 -0400
committerHierophect <hierophect@gmail.com>2019-09-06 11:28:57 -0400
commit3156ee1acbd776cef5e2f09a4adbe30f4f3eed07 (patch)
tree0c64aa5ee0593a86a98448d16118828f6a93053f
parentbc376498845a67a0348f2f7c4a73fbb55b7563bb (diff)
Re-apply warning as error
-rwxr-xr-xports/stm32f4/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/ports/stm32f4/Makefile b/ports/stm32f4/Makefile
index 9547802d7..f3558588b 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,