source: rtems/bsps/arm/lm3s69xx/config/lm3s69xx.inc @ b446457

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: 459 bytes
RevLine 
[e263c16]1#
2#  Config file for LM3S69XX.
3#
4
5include $(RTEMS_ROOT)/make/custom/default.cfg
6
7RTEMS_CPU = arm
8
[b446457]9CPU_CFLAGS = -mthumb -mcpu=cortex-m3
[e263c16]10
11CFLAGS_OPTIMIZE_V = -O2 -g
12
[45351fc]13# Add CFLAGS and LDFLAGS for compiling and linking with per item sections
14CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
15LDFLAGS            = -Wl,--gc-sections
16
[e263c16]17define bsp-post-link
18        $(default-bsp-post-link)
[efdda565]19        $(OBJCOPY) -O binary $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
[e263c16]20endef
Note: See TracBrowser for help on using the repository browser.