summaryrefslogtreecommitdiff
path: root/controller/fw/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'controller/fw/Makefile')
-rw-r--r--controller/fw/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/controller/fw/Makefile b/controller/fw/Makefile
index fac9169..a7d690a 100644
--- a/controller/fw/Makefile
+++ b/controller/fw/Makefile
@@ -111,7 +111,8 @@ COMMON_CFLAGS += -DTRANSMISSION_SYMBOLS=$(TRANSMISSION_SYMBOLS)
# for musl
CFLAGS += -Dhidden=
-SIM_CFLAGS += -lm -DSIMULATION
+SIM_CFLAGS += -lm -DSIMULATION -fsanitize=address
+SIM_CFLAGS += -Wall -Wextra -Wpedantic -Wshadow -Wimplicit-function-declaration -Wundef
INT_CFLAGS += -Wall -Wextra -Wpedantic -Wshadow -Wimplicit-function-declaration -Wundef
INT_CFLAGS += -Wredundant-decls -Wmissing-prototypes -Wstrict-prototypes