source: rtems/bsps/arm/lpc24xx/config/lpc40xx.inc @ b446457

Last change on this file since b446457 was b446457, checked in by Sebastian Huber <sebastian.huber@…>, on May 14, 2019 at 7:04:05 AM

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: 282 bytes
Line 
1#
2# Config file for LPC40XX.
3#
4
5include $(RTEMS_ROOT)/make/custom/default.cfg
6
7RTEMS_CPU = arm
8
9CPU_CFLAGS = -mthumb -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard
10
11CFLAGS_OPTIMIZE_V = -O2 -g
12CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
13
14LDFLAGS = -Wl,--gc-sections
Note: See TracBrowser for help on using the repository browser.