summaryrefslogtreecommitdiffstats
path: root/make/custom
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--make/custom/lpc2478_ncs.cfg14
-rw-r--r--make/custom/lpc2478_ncs_ram.cfg14
-rw-r--r--make/custom/lpc24xx.cfg3
-rw-r--r--make/custom/lpc24xx_ea.cfg (renamed from make/custom/lpc2478.cfg)4
-rw-r--r--make/custom/lpc24xx_ncs_ram.cfg9
5 files changed, 12 insertions, 32 deletions
diff --git a/make/custom/lpc2478_ncs.cfg b/make/custom/lpc2478_ncs.cfg
deleted file mode 100644
index f826757f9e..0000000000
--- a/make/custom/lpc2478_ncs.cfg
+++ /dev/null
@@ -1,14 +0,0 @@
-#
-# 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
deleted file mode 100644
index ae514d45cd..0000000000
--- a/make/custom/lpc2478_ncs_ram.cfg
+++ /dev/null
@@ -1,14 +0,0 @@
-#
-# 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
index 41c40302a4..46098dfa64 100644
--- a/make/custom/lpc24xx.cfg
+++ b/make/custom/lpc24xx.cfg
@@ -10,8 +10,7 @@ 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
+CPU_CFLAGS = -mcpu=arm7tdmi-s -mstructure-size-boundary=8 -mthumb
CFLAGS_OPTIMIZE_V = -Os -g
diff --git a/make/custom/lpc2478.cfg b/make/custom/lpc24xx_ea.cfg
index 7db495c51b..8fe906092f 100644
--- a/make/custom/lpc2478.cfg
+++ b/make/custom/lpc24xx_ea.cfg
@@ -1,10 +1,10 @@
#
-# Config file for LPC2478 (QVGA Base Board from Embedded Artists).
+# Config file for LPC24XX (QVGA Base Board from Embedded Artists).
#
# $Id$
#
-LPC24XX_LINKCMDS = linkcmds.lpc2478
+LPC24XX_LINKCMDS = linkcmds.lpc24xx_ea
include $(RTEMS_ROOT)/make/custom/lpc24xx.cfg
diff --git a/make/custom/lpc24xx_ncs_ram.cfg b/make/custom/lpc24xx_ncs_ram.cfg
new file mode 100644
index 0000000000..3be25432ec
--- /dev/null
+++ b/make/custom/lpc24xx_ncs_ram.cfg
@@ -0,0 +1,9 @@
+#
+# Config file for LPC24XX (NCS).
+#
+# $Id$
+#
+
+LPC24XX_LINKCMDS = linkcmds.lpc24xx_ncs_ram
+
+include $(RTEMS_ROOT)/make/custom/lpc24xx.cfg