summaryrefslogtreecommitdiffstats
path: root/make/custom
diff options
context:
space:
mode:
authorThomas Doerfler <Thomas.Doerfler@embedded-brains.de>2009-02-27 12:12:08 +0000
committerThomas Doerfler <Thomas.Doerfler@embedded-brains.de>2009-02-27 12:12:08 +0000
commit949166d6c0436afba8b78420e6ef64a9719b9fca (patch)
treebddb49ca14eee7ead6f97311663185c1f99c1503 /make/custom
parent * README: Added NCS. (diff)
downloadrtems-949166d6c0436afba8b78420e6ef64a9719b9fca.tar.bz2
added missing files
Diffstat (limited to 'make/custom')
-rw-r--r--make/custom/lpc2478_ncs.cfg14
-rw-r--r--make/custom/lpc2478_ncs_ram.cfg14
-rw-r--r--make/custom/lpc24xx.cfg18
3 files changed, 46 insertions, 0 deletions
diff --git a/make/custom/lpc2478_ncs.cfg b/make/custom/lpc2478_ncs.cfg
new file mode 100644
index 0000000000..f826757f9e
--- /dev/null
+++ b/make/custom/lpc2478_ncs.cfg
@@ -0,0 +1,14 @@
+#
+# Config file for LPC2478 (NCS).
+#
+# $Id$
+#
+
+LPC24XX_LINKCMDS = linkcmds.lpc2478_ncs
+
+include $(RTEMS_ROOT)/make/custom/lpc24xx.cfg
+
+define bsp-post-link
+ $(OBJCOPY) -O ihex '$@' '$(basename $@).hex'
+ $(default-bsp-post-link)
+endef
diff --git a/make/custom/lpc2478_ncs_ram.cfg b/make/custom/lpc2478_ncs_ram.cfg
new file mode 100644
index 0000000000..ae514d45cd
--- /dev/null
+++ b/make/custom/lpc2478_ncs_ram.cfg
@@ -0,0 +1,14 @@
+#
+# Config file for LPC2478 (NCS, code and data in external RAM).
+#
+# $Id$
+#
+
+LPC24XX_LINKCMDS = linkcmds.lpc2478_ncs_ram
+
+include $(RTEMS_ROOT)/make/custom/lpc24xx.cfg
+
+define bsp-post-link
+ $(OBJCOPY) -S '$@' '$(basename $@).elf'
+ $(default-bsp-post-link)
+endef
diff --git a/make/custom/lpc24xx.cfg b/make/custom/lpc24xx.cfg
new file mode 100644
index 0000000000..41c40302a4
--- /dev/null
+++ b/make/custom/lpc24xx.cfg
@@ -0,0 +1,18 @@
+#
+# Config file for LPC24XX.
+#
+# $Id$
+#
+
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
+RTEMS_CPU = arm
+
+RTEMS_BSP_FAMILY = lpc24xx
+
+CPU_CFLAGS = -mcpu=arm7tdmi-s -mstructure-size-boundary=8 -mapcs-frame \
+ -Wextra -Wno-unused -Wpointer-arith -Wcast-qual -Wconversion -Wmissing-prototypes -fno-inline
+
+CFLAGS_OPTIMIZE_V = -Os -g
+
+LDFLAGS += -qnolinkcmds -T $(LPC24XX_LINKCMDS)