aboutsummaryrefslogtreecommitdiff
path: root/example/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'example/Makefile')
-rw-r--r--example/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/Makefile b/example/Makefile
index 23d07e5..0667d67 100644
--- a/example/Makefile
+++ b/example/Makefile
@@ -26,7 +26,7 @@ CC = $(PREFIX)-gcc
LD = $(PREFIX)-ld
OBJCOPY = $(PREFIX)-objcopy
OBJDUMP = $(PREFIX)-objdump
-CFLAGS = -Os -g -Wall -Wextra -I../include -fno-common \
+CFLAGS = -O0 -g -Wall -Wextra -I../include -fno-common \
-mcpu=cortex-m3 -mthumb
LDFLAGS = -L../lib -T$(BINARY).ld -nostartfiles
OBJS = $(BINARY).o