summaryrefslogtreecommitdiff
path: root/src/stm-demo/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/stm-demo/Makefile')
-rw-r--r--src/stm-demo/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stm-demo/Makefile b/src/stm-demo/Makefile
index e009c30c..a675182e 100644
--- a/src/stm-demo/Makefile
+++ b/src/stm-demo/Makefile
@@ -47,7 +47,7 @@ PRODUCT_DEF=-DSTM_DEMO
IDPRODUCT=0x000a
CPU=cortex-m3
CFLAGS = $(PRODUCT_DEF) -I. -I../stm -I../core -I..
-CFLAGS += -g -std=gnu99 -Os -mlittle-endian -mcpu=cortex-m3 -mthumb -ffreestanding -nostdlib -I../stm $(CINC)
+CFLAGS += -g -std=gnu99 -O0 -mlittle-endian -mcpu=cortex-m3 -mthumb -ffreestanding -nostdlib -I../stm $(CINC)
NICKLE=nickle