diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-05-14 09:04:05 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-05-14 09:09:02 +0200 |
commit | b446457f1c0a159863e770458b1373604f7050fe (patch) | |
tree | 542c2d10f9489329fb9a0a3b808b583d4d6d15a0 /bsps/arm/lpc24xx | |
parent | libdl: Fix size bug in loading symbols. (diff) | |
download | rtems-b446457f1c0a159863e770458b1373604f7050fe.tar.bz2 |
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.
Diffstat (limited to 'bsps/arm/lpc24xx')
-rw-r--r-- | bsps/arm/lpc24xx/config/lpc17xx.inc | 2 | ||||
-rw-r--r-- | bsps/arm/lpc24xx/config/lpc40xx.inc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bsps/arm/lpc24xx/config/lpc17xx.inc b/bsps/arm/lpc24xx/config/lpc17xx.inc index e877959e1d..3ecef90db9 100644 --- a/bsps/arm/lpc24xx/config/lpc17xx.inc +++ b/bsps/arm/lpc24xx/config/lpc17xx.inc @@ -6,7 +6,7 @@ include $(RTEMS_ROOT)/make/custom/default.cfg RTEMS_CPU = arm -CPU_CFLAGS = -march=armv7-m -mthumb +CPU_CFLAGS = -mthumb -mcpu=cortex-m3 CFLAGS_OPTIMIZE_V = -O2 -g CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections diff --git a/bsps/arm/lpc24xx/config/lpc40xx.inc b/bsps/arm/lpc24xx/config/lpc40xx.inc index 5460a95f54..a3fb48a4b9 100644 --- a/bsps/arm/lpc24xx/config/lpc40xx.inc +++ b/bsps/arm/lpc24xx/config/lpc40xx.inc @@ -6,7 +6,7 @@ include $(RTEMS_ROOT)/make/custom/default.cfg RTEMS_CPU = arm -CPU_CFLAGS = -mthumb -march=armv7-m -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mtune=cortex-m4 +CPU_CFLAGS = -mthumb -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard CFLAGS_OPTIMIZE_V = -O2 -g CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections |