Skip to content

Commit

Permalink
Enable optimization to reduce firmware size
Browse files Browse the repository at this point in the history
With no optimization, Chevy Volt safety makes panda.bin
over 32k and it no longer fits in a Panda.
  • Loading branch information
vntarasov committed Feb 23, 2018
1 parent d70f43b commit 786a004
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion board/build.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CFLAGS += -I inc -I ../ -nostdlib -fno-builtin -std=gnu11 -O0
CFLAGS += -I inc -I ../ -nostdlib -fno-builtin -std=gnu11 -O2
CFLAGS += -Tstm32_flash.ld

CC = arm-none-eabi-gcc
Expand Down

0 comments on commit 786a004

Please sign in to comment.