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