summaryrefslogtreecommitdiffstats
path: root/bsps/arm/lpc24xx/config/lpc24xx.inc
diff options
context:
space:
mode:
Diffstat (limited to 'bsps/arm/lpc24xx/config/lpc24xx.inc')
-rw-r--r--bsps/arm/lpc24xx/config/lpc24xx.inc14
1 files changed, 14 insertions, 0 deletions
diff --git a/bsps/arm/lpc24xx/config/lpc24xx.inc b/bsps/arm/lpc24xx/config/lpc24xx.inc
new file mode 100644
index 0000000000..9bcef4b793
--- /dev/null
+++ b/bsps/arm/lpc24xx/config/lpc24xx.inc
@@ -0,0 +1,14 @@
+#
+# Config file for LPC24XX.
+#
+
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
+RTEMS_CPU = arm
+
+CPU_CFLAGS = -mcpu=arm7tdmi-s -mthumb
+
+CFLAGS_OPTIMIZE_V = -Os -g
+CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
+
+LDFLAGS = -Wl,--gc-sections