diff options
Diffstat (limited to 'bsps/arm/lpc24xx/config/lpc40xx.inc')
-rw-r--r-- | bsps/arm/lpc24xx/config/lpc40xx.inc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/bsps/arm/lpc24xx/config/lpc40xx.inc b/bsps/arm/lpc24xx/config/lpc40xx.inc new file mode 100644 index 0000000000..5460a95f54 --- /dev/null +++ b/bsps/arm/lpc24xx/config/lpc40xx.inc @@ -0,0 +1,14 @@ +# +# Config file for LPC40XX. +# + +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 + +CFLAGS_OPTIMIZE_V = -O2 -g +CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections + +LDFLAGS = -Wl,--gc-sections |