aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32/f2/Makefile.include
diff options
context:
space:
mode:
Diffstat (limited to 'examples/stm32/f2/Makefile.include')
-rw-r--r--examples/stm32/f2/Makefile.include2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/stm32/f2/Makefile.include b/examples/stm32/f2/Makefile.include
index 0345298..e7d6a52 100644
--- a/examples/stm32/f2/Makefile.include
+++ b/examples/stm32/f2/Makefile.include
@@ -31,7 +31,7 @@ GDB = $(PREFIX)-gdb
TOOLCHAIN_DIR = ../../../../..
CFLAGS += -Os -g -Wall -Wextra -I$(TOOLCHAIN_DIR)/include \
-fno-common -mcpu=cortex-m3 -mthumb -msoft-float -MD -DSTM32F2
-LDSCRIPT = $(BINARY).ld
+LDSCRIPT ?= $(BINARY).ld
LDFLAGS += -lc -lnosys -L$(TOOLCHAIN_DIR)/lib \
-L$(TOOLCHAIN_DIR)/lib/stm32/f2 \
-T$(LDSCRIPT) -nostartfiles -Wl,--gc-sections \