Build with -Os for swlink.

This commit is contained in:
Gareth McMullin 2015-03-15 20:47:10 -07:00
parent 9a8dbdeff7
commit 588bad34ba
1 changed files with 1 additions and 0 deletions

View File

@ -2,6 +2,7 @@ CROSS_COMPILE ?= arm-none-eabi-
CC = $(CROSS_COMPILE)gcc
OBJCOPY = $(CROSS_COMPILE)objcopy
OPT_FLAGS = -Os
CFLAGS += -mcpu=cortex-m3 -mthumb \
-DSTM32F1 -DDISCOVERY_SWLINK -I../libopencm3/include \
-I platforms/stm32