summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2022-01-25 18:34:29 +0100
committerxengineering <me@xengineering.eu>2022-01-25 18:34:29 +0100
commit084f7d6961470012973057736940c9fbfb24219c (patch)
treeadc73978445adb59ca58bf30817991220f2bd192
parent2c72108ae0644a4317a00928cbb01d9ca3821a59 (diff)
downloadledcontrol-084f7d6961470012973057736940c9fbfb24219c.tar
ledcontrol-084f7d6961470012973057736940c9fbfb24219c.tar.zst
ledcontrol-084f7d6961470012973057736940c9fbfb24219c.zip
Add -Wall flag for compiler
-rw-r--r--firmware/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/Makefile b/firmware/Makefile
index 14069f6..89993cb 100644
--- a/firmware/Makefile
+++ b/firmware/Makefile
@@ -7,7 +7,7 @@ OBJCOPY = $(PREFIX)-objcopy
all: libopencm3/lib/libopencm3_stm32f1.a
mkdir -p build
- $(CC) -O0 -c -g -DSTM32F1 -Ilibopencm3/include -mcpu=cortex-m3 -mthumb -o build/main.o main.c
+ $(CC) -O0 -c -g -Wall -DSTM32F1 -Ilibopencm3/include -mcpu=cortex-m3 -mthumb -o build/main.o main.c
$(LD) --static -nostartfiles -mcpu=cortex-m3 -mthumb -msoft-float -Tstm32f103c8t6.ld -Llibopencm3/lib build/main.o -lopencm3_stm32f1 -o build/ledcontrol.elf
$(OBJCOPY) -O binary build/ledcontrol.elf build/ledcontrol.bin