5
Last change
on this file since b446457 was
b446457,
checked in by Sebastian Huber <sebastian.huber@…>, on 05/14/19 at 07:04:05
|
bsps/arm: Adjust machine flags for ARMv7-M
Update machine flags for Cortex-M3 and Cortex-M4 based BSPs to account
for Cortex-M3 Errata 602117 which required GCC multilib changes.
Update #3747.
|
-
Property mode set to
100644
|
File size:
535 bytes
|
Line | |
---|
1 | # |
---|
2 | # Config file for mbed LPC1768 board. |
---|
3 | # |
---|
4 | |
---|
5 | include $(RTEMS_ROOT)/make/custom/default.cfg |
---|
6 | |
---|
7 | RTEMS_CPU = arm |
---|
8 | |
---|
9 | CPU_CFLAGS = -mthumb -mcpu=cortex-m3 |
---|
10 | |
---|
11 | CFLAGS_OPTIMIZE_V = -O2 -ggdb3 |
---|
12 | CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections |
---|
13 | LDFLAGS = -Wl,--gc-sections |
---|
14 | |
---|
15 | BINEXT?=.bin |
---|
16 | # This defines the operations performed on the linked executable. |
---|
17 | # is currently required. |
---|
18 | define bsp-post-link |
---|
19 | $(OBJCOPY) -O binary --strip-all \ |
---|
20 | $(basename $@)$(EXEEXT) $(basename $@)$(BINEXT) |
---|
21 | $(SIZE) $(basename $@)$(EXEEXT) |
---|
22 | endef |
---|
Note: See
TracBrowser
for help on using the repository browser.