Set -mcpu=cortex-m3 linker flag.

This fixes a bug with Ubuntu 17.04.
It includes the correct architecture (armv7-m) and also includes
the flag -mfix-cortex-m3-ldrd as default.
This commit is contained in:
Jochen Hoenicke 2017-06-22 21:13:06 +02:00 committed by Pavol Rusnak
parent 247cbd2ff1
commit db19dd1306
1 changed files with 1 additions and 2 deletions

View File

@ -71,9 +71,8 @@ LDFLAGS += --static \
-T$(LDSCRIPT) \
-nostartfiles \
-Wl,--gc-sections \
-mcpu=cortex-m3 \
-mthumb \
-march=armv7 \
-mfix-cortex-m3-ldrd \
-msoft-float
all: $(NAME).bin