summaryrefslogtreecommitdiffstats
path: root/bsps/arm/lpc24xx/config/lpc17xx.inc
diff options
context:
space:
mode:
Diffstat (limited to 'bsps/arm/lpc24xx/config/lpc17xx.inc')
-rw-r--r--bsps/arm/lpc24xx/config/lpc17xx.inc15
1 files changed, 15 insertions, 0 deletions
diff --git a/bsps/arm/lpc24xx/config/lpc17xx.inc b/bsps/arm/lpc24xx/config/lpc17xx.inc
new file mode 100644
index 0000000000..e877959e1d
--- /dev/null
+++ b/bsps/arm/lpc24xx/config/lpc17xx.inc
@@ -0,0 +1,15 @@
+#
+# Config file for LPC17XX.
+#
+
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
+RTEMS_CPU = arm
+
+CPU_CFLAGS = -march=armv7-m -mthumb
+
+CFLAGS_OPTIMIZE_V = -O2 -g
+CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
+
+LDFLAGS = -Wl,--gc-sections
+