aboutsummaryrefslogtreecommitdiff
path: root/fw/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'fw/Makefile')
-rw-r--r--fw/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/fw/Makefile b/fw/Makefile
index be6ff0b..6ff1686 100644
--- a/fw/Makefile
+++ b/fw/Makefile
@@ -9,7 +9,7 @@ OBJCOPY := arm-none-eabi-objcopy
OBJDUMP := arm-none-eabi-objdump
SIZE := arm-none-eabi-size
-CFLAGS = -g -Wall -std=gnu11 -O0 -fdump-rtl-expand
+CFLAGS = -g -Wall -std=gnu11 -O2 -fdump-rtl-expand
CFLAGS += -mlittle-endian -mcpu=cortex-m0 -march=armv6-m -mthumb
#CFLAGS += -ffunction-sections -fdata-sections
LDFLAGS = -nostartfiles