summaryrefslogtreecommitdiffstats
path: root/bsps/arm/lpc24xx
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-04-21 10:22:08 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-04-23 15:18:42 +0200
commitadb85dd473af5c9a72e9da9b7fe013d1b216abc3 (patch)
treeed54d2ce2354cf2b75995d1e1f2bc685436bc4ca /bsps/arm/lpc24xx
parentbsps: Remove AC_CONFIG_SRCDIR() (diff)
downloadrtems-adb85dd473af5c9a72e9da9b7fe013d1b216abc3.tar.bz2
bsps: Move make/custom/* files to bsps
Adjust various build files. Remove automatic generation of the c/src/lib/libbsp/*/acinclude.m4 files from bootstrap script. This patch is a part of the BSP source reorganization. Update #3285.
Diffstat (limited to 'bsps/arm/lpc24xx')
-rw-r--r--bsps/arm/lpc24xx/config/lpc17xx.inc15
-rw-r--r--bsps/arm/lpc24xx/config/lpc17xx_ea_ram.cfg5
-rw-r--r--bsps/arm/lpc24xx/config/lpc17xx_ea_rom_int-testsuite.tcfg8
-rw-r--r--bsps/arm/lpc24xx/config/lpc17xx_ea_rom_int.cfg5
-rw-r--r--bsps/arm/lpc24xx/config/lpc17xx_plx800_ram.cfg5
-rw-r--r--bsps/arm/lpc24xx/config/lpc17xx_plx800_rom_int-testsuite.tcfg8
-rw-r--r--bsps/arm/lpc24xx/config/lpc17xx_plx800_rom_int.cfg5
-rw-r--r--bsps/arm/lpc24xx/config/lpc2362-testsuite.tcfg41
-rw-r--r--bsps/arm/lpc24xx/config/lpc2362.cfg5
-rw-r--r--bsps/arm/lpc24xx/config/lpc23xx_tli800-testsuite.tcfg52
-rw-r--r--bsps/arm/lpc24xx/config/lpc23xx_tli800.cfg5
-rw-r--r--bsps/arm/lpc24xx/config/lpc24xx.inc14
-rw-r--r--bsps/arm/lpc24xx/config/lpc24xx_ea.cfg12
-rw-r--r--bsps/arm/lpc24xx/config/lpc24xx_ncs_ram.cfg5
-rw-r--r--bsps/arm/lpc24xx/config/lpc24xx_ncs_rom_ext.cfg5
-rw-r--r--bsps/arm/lpc24xx/config/lpc24xx_ncs_rom_int-testsuite.tcfg8
-rw-r--r--bsps/arm/lpc24xx/config/lpc24xx_ncs_rom_int.cfg5
-rw-r--r--bsps/arm/lpc24xx/config/lpc24xx_plx800_ram.cfg5
-rw-r--r--bsps/arm/lpc24xx/config/lpc24xx_plx800_rom_int-testsuite.tcfg8
-rw-r--r--bsps/arm/lpc24xx/config/lpc24xx_plx800_rom_int.cfg5
-rw-r--r--bsps/arm/lpc24xx/config/lpc40xx.inc14
-rw-r--r--bsps/arm/lpc24xx/config/lpc40xx_ea_ram.cfg5
-rw-r--r--bsps/arm/lpc24xx/config/lpc40xx_ea_rom_int-testsuite.tcfg8
-rw-r--r--bsps/arm/lpc24xx/config/lpc40xx_ea_rom_int.cfg5
24 files changed, 253 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
+
diff --git a/bsps/arm/lpc24xx/config/lpc17xx_ea_ram.cfg b/bsps/arm/lpc24xx/config/lpc17xx_ea_ram.cfg
new file mode 100644
index 0000000000..caaaf07639
--- /dev/null
+++ b/bsps/arm/lpc24xx/config/lpc17xx_ea_ram.cfg
@@ -0,0 +1,5 @@
+#
+# Config file for LPC1788 OEM Board from Embedded Artists.
+#
+
+include $(RTEMS_ROOT)/make/custom/lpc17xx.inc
diff --git a/bsps/arm/lpc24xx/config/lpc17xx_ea_rom_int-testsuite.tcfg b/bsps/arm/lpc24xx/config/lpc17xx_ea_rom_int-testsuite.tcfg
new file mode 100644
index 0000000000..64e3a0585d
--- /dev/null
+++ b/bsps/arm/lpc24xx/config/lpc17xx_ea_rom_int-testsuite.tcfg
@@ -0,0 +1,8 @@
+#
+# lpc17xx_ea_rom_int RTEMS Test Database.
+#
+# Format is one line per test that is _NOT_ built.
+#
+
+include: testdata/disable-iconv-tests.tcfg
+exclude: fsdosfsname01
diff --git a/bsps/arm/lpc24xx/config/lpc17xx_ea_rom_int.cfg b/bsps/arm/lpc24xx/config/lpc17xx_ea_rom_int.cfg
new file mode 100644
index 0000000000..caaaf07639
--- /dev/null
+++ b/bsps/arm/lpc24xx/config/lpc17xx_ea_rom_int.cfg
@@ -0,0 +1,5 @@
+#
+# Config file for LPC1788 OEM Board from Embedded Artists.
+#
+
+include $(RTEMS_ROOT)/make/custom/lpc17xx.inc
diff --git a/bsps/arm/lpc24xx/config/lpc17xx_plx800_ram.cfg b/bsps/arm/lpc24xx/config/lpc17xx_plx800_ram.cfg
new file mode 100644
index 0000000000..a3cf1f0816
--- /dev/null
+++ b/bsps/arm/lpc24xx/config/lpc17xx_plx800_ram.cfg
@@ -0,0 +1,5 @@
+#
+# Config file for LPC17XX (PLX800).
+#
+
+include $(RTEMS_ROOT)/make/custom/lpc17xx.inc
diff --git a/bsps/arm/lpc24xx/config/lpc17xx_plx800_rom_int-testsuite.tcfg b/bsps/arm/lpc24xx/config/lpc17xx_plx800_rom_int-testsuite.tcfg
new file mode 100644
index 0000000000..9c7f2ce60b
--- /dev/null
+++ b/bsps/arm/lpc24xx/config/lpc17xx_plx800_rom_int-testsuite.tcfg
@@ -0,0 +1,8 @@
+#
+# lpc17xx_plx800_rom_int RTEMS Test Database.
+#
+# Format is one line per test that is _NOT_ built.
+#
+
+include: testdata/disable-iconv-tests.tcfg
+exclude: fsdosfsname01
diff --git a/bsps/arm/lpc24xx/config/lpc17xx_plx800_rom_int.cfg b/bsps/arm/lpc24xx/config/lpc17xx_plx800_rom_int.cfg
new file mode 100644
index 0000000000..a3cf1f0816
--- /dev/null
+++ b/bsps/arm/lpc24xx/config/lpc17xx_plx800_rom_int.cfg
@@ -0,0 +1,5 @@
+#
+# Config file for LPC17XX (PLX800).
+#
+
+include $(RTEMS_ROOT)/make/custom/lpc17xx.inc
diff --git a/bsps/arm/lpc24xx/config/lpc2362-testsuite.tcfg b/bsps/arm/lpc24xx/config/lpc2362-testsuite.tcfg
new file mode 100644
index 0000000000..bf8df07b8b
--- /dev/null
+++ b/bsps/arm/lpc24xx/config/lpc2362-testsuite.tcfg
@@ -0,0 +1,41 @@
+#
+# lpc2362 RTEMS Test Database.
+#
+# Format is one line per test that is _NOT_ built.
+#
+
+include: testdata/disable-iconv-tests.tcfg
+include: testdata/disable-jffs2-tests.tcfg
+include: testdata/disable-mrfs-tests.tcfg
+
+exclude: capture
+exclude: cdtest
+exclude: dl01
+exclude: dl02
+exclude: dl04
+exclude: dl05
+exclude: dl06
+exclude: fileio
+exclude: flashdisk01
+exclude: fsrofs01
+exclude: fsdosfsname01
+exclude: fsdosfsformat01
+exclude: fsrfsbitmap01
+exclude: ftp01
+exclude: iostream
+exclude: linpack
+exclude: loopback
+exclude: math
+exclude: mdosfs_fserror
+exclude: mghttpd01
+exclude: monitor02
+exclude: mdosfs_fsrdwr
+exclude: paranoia
+exclude: pppd
+exclude: rtems++
+exclude: shell01
+exclude: spstkalloc02
+exclude: sptls02
+exclude: syscall01
+exclude: tmfine01
+exclude: utf8proc01
diff --git a/bsps/arm/lpc24xx/config/lpc2362.cfg b/bsps/arm/lpc24xx/config/lpc2362.cfg
new file mode 100644
index 0000000000..d5fc413191
--- /dev/null
+++ b/bsps/arm/lpc24xx/config/lpc2362.cfg
@@ -0,0 +1,5 @@
+#
+# Config file for LPC2362.
+#
+
+include $(RTEMS_ROOT)/make/custom/lpc24xx.inc
diff --git a/bsps/arm/lpc24xx/config/lpc23xx_tli800-testsuite.tcfg b/bsps/arm/lpc24xx/config/lpc23xx_tli800-testsuite.tcfg
new file mode 100644
index 0000000000..768e8ee7d7
--- /dev/null
+++ b/bsps/arm/lpc24xx/config/lpc23xx_tli800-testsuite.tcfg
@@ -0,0 +1,52 @@
+#
+# lpc23xx_tli800 RTEMS Test Database.
+#
+# Format is one line per test that is _NOT_ built.
+#
+
+include: testdata/disable-iconv-tests.tcfg
+include: testdata/disable-jffs2-tests.tcfg
+include: testdata/disable-mrfs-tests.tcfg
+
+exclude: capture
+exclude: cdtest
+exclude: complex
+exclude: crypt01
+exclude: dl01
+exclude: dl02
+exclude: dl04
+exclude: dl05
+exclude: dl06
+exclude: fileio
+exclude: flashdisk01
+exclude: fsdosfsformat01
+exclude: fsdosfsname01
+exclude: fsdosfswrite01
+exclude: fsrfsbitmap01
+exclude: fsrofs01
+exclude: ftp01
+exclude: iostream
+exclude: linpack
+exclude: loopback
+exclude: math
+exclude: mathf
+exclude: mdosfs_fserror
+exclude: mdosfs_fsscandir01
+exclude: mghttpd01
+exclude: monitor
+exclude: monitor02
+exclude: mdosfs_fsrdwr
+exclude: mdosfs_fspatheval
+exclude: mdosfs_fstime
+exclude: paranoia
+exclude: pppd
+exclude: psxmsgq01
+exclude: rtems++
+exclude: shell01
+exclude: sptls02
+exclude: spstkalloc02
+exclude: syscall01
+exclude: tar01
+exclude: termios
+exclude: tmfine01
+exclude: utf8proc01
diff --git a/bsps/arm/lpc24xx/config/lpc23xx_tli800.cfg b/bsps/arm/lpc24xx/config/lpc23xx_tli800.cfg
new file mode 100644
index 0000000000..a7e7ef34b8
--- /dev/null
+++ b/bsps/arm/lpc24xx/config/lpc23xx_tli800.cfg
@@ -0,0 +1,5 @@
+#
+# Config file for TLI800.
+#
+
+include $(RTEMS_ROOT)/make/custom/lpc24xx.inc
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
diff --git a/bsps/arm/lpc24xx/config/lpc24xx_ea.cfg b/bsps/arm/lpc24xx/config/lpc24xx_ea.cfg
new file mode 100644
index 0000000000..813fcb8cb6
--- /dev/null
+++ b/bsps/arm/lpc24xx/config/lpc24xx_ea.cfg
@@ -0,0 +1,12 @@
+#
+# Config file for LPC24XX (QVGA Base Board from Embedded Artists).
+#
+
+include $(RTEMS_ROOT)/make/custom/lpc24xx.inc
+
+# define bsp-post-link
+# $(OBJCOPY) -O binary '$@' '$(basename $@).bin'
+# gzip -f -9 '$(basename $@).bin'
+# mkimage -A arm -O rtems -T kernel -C gzip -a a0000000 -e a0000040 -name '$(notdir $@)' -d '$(basename $@).bin.gz' '$(basename $@).img'
+# $(default-bsp-post-link)
+# endef
diff --git a/bsps/arm/lpc24xx/config/lpc24xx_ncs_ram.cfg b/bsps/arm/lpc24xx/config/lpc24xx_ncs_ram.cfg
new file mode 100644
index 0000000000..a629a4f497
--- /dev/null
+++ b/bsps/arm/lpc24xx/config/lpc24xx_ncs_ram.cfg
@@ -0,0 +1,5 @@
+#
+# Config file for LPC24XX (NCS).
+#
+
+include $(RTEMS_ROOT)/make/custom/lpc24xx.inc
diff --git a/bsps/arm/lpc24xx/config/lpc24xx_ncs_rom_ext.cfg b/bsps/arm/lpc24xx/config/lpc24xx_ncs_rom_ext.cfg
new file mode 100644
index 0000000000..a629a4f497
--- /dev/null
+++ b/bsps/arm/lpc24xx/config/lpc24xx_ncs_rom_ext.cfg
@@ -0,0 +1,5 @@
+#
+# Config file for LPC24XX (NCS).
+#
+
+include $(RTEMS_ROOT)/make/custom/lpc24xx.inc
diff --git a/bsps/arm/lpc24xx/config/lpc24xx_ncs_rom_int-testsuite.tcfg b/bsps/arm/lpc24xx/config/lpc24xx_ncs_rom_int-testsuite.tcfg
new file mode 100644
index 0000000000..cec9333713
--- /dev/null
+++ b/bsps/arm/lpc24xx/config/lpc24xx_ncs_rom_int-testsuite.tcfg
@@ -0,0 +1,8 @@
+#
+# lpc24xx_ncs_rom_int RTEMS Test Database.
+#
+# Format is one line per test that is _NOT_ built.
+#
+
+include: testdata/disable-iconv-tests.tcfg
+exclude: fsdosfsname01
diff --git a/bsps/arm/lpc24xx/config/lpc24xx_ncs_rom_int.cfg b/bsps/arm/lpc24xx/config/lpc24xx_ncs_rom_int.cfg
new file mode 100644
index 0000000000..a629a4f497
--- /dev/null
+++ b/bsps/arm/lpc24xx/config/lpc24xx_ncs_rom_int.cfg
@@ -0,0 +1,5 @@
+#
+# Config file for LPC24XX (NCS).
+#
+
+include $(RTEMS_ROOT)/make/custom/lpc24xx.inc
diff --git a/bsps/arm/lpc24xx/config/lpc24xx_plx800_ram.cfg b/bsps/arm/lpc24xx/config/lpc24xx_plx800_ram.cfg
new file mode 100644
index 0000000000..6e25ad5dc2
--- /dev/null
+++ b/bsps/arm/lpc24xx/config/lpc24xx_plx800_ram.cfg
@@ -0,0 +1,5 @@
+#
+# Config file for LPC24XX (PLX800).
+#
+
+include $(RTEMS_ROOT)/make/custom/lpc24xx.inc
diff --git a/bsps/arm/lpc24xx/config/lpc24xx_plx800_rom_int-testsuite.tcfg b/bsps/arm/lpc24xx/config/lpc24xx_plx800_rom_int-testsuite.tcfg
new file mode 100644
index 0000000000..94b7f7a947
--- /dev/null
+++ b/bsps/arm/lpc24xx/config/lpc24xx_plx800_rom_int-testsuite.tcfg
@@ -0,0 +1,8 @@
+#
+# lpc24xx_plx800_rom_int RTEMS Test Database.
+#
+# Format is one line per test that is _NOT_ built.
+#
+
+include: testdata/disable-iconv-tests.tcfg
+exclude: fsdosfsname01
diff --git a/bsps/arm/lpc24xx/config/lpc24xx_plx800_rom_int.cfg b/bsps/arm/lpc24xx/config/lpc24xx_plx800_rom_int.cfg
new file mode 100644
index 0000000000..6e25ad5dc2
--- /dev/null
+++ b/bsps/arm/lpc24xx/config/lpc24xx_plx800_rom_int.cfg
@@ -0,0 +1,5 @@
+#
+# Config file for LPC24XX (PLX800).
+#
+
+include $(RTEMS_ROOT)/make/custom/lpc24xx.inc
diff --git a/bsps/arm/lpc24xx/config/lpc40xx.inc b/bsps/arm/lpc24xx/config/lpc40xx.inc
new file mode 100644
index 0000000000..5460a95f54
--- /dev/null
+++ b/bsps/arm/lpc24xx/config/lpc40xx.inc
@@ -0,0 +1,14 @@
+#
+# Config file for LPC40XX.
+#
+
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
+RTEMS_CPU = arm
+
+CPU_CFLAGS = -mthumb -march=armv7-m -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mtune=cortex-m4
+
+CFLAGS_OPTIMIZE_V = -O2 -g
+CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
+
+LDFLAGS = -Wl,--gc-sections
diff --git a/bsps/arm/lpc24xx/config/lpc40xx_ea_ram.cfg b/bsps/arm/lpc24xx/config/lpc40xx_ea_ram.cfg
new file mode 100644
index 0000000000..4c4eb4d360
--- /dev/null
+++ b/bsps/arm/lpc24xx/config/lpc40xx_ea_ram.cfg
@@ -0,0 +1,5 @@
+#
+# Config file for LPC40XX OEM Board from Embedded Artists.
+#
+
+include $(RTEMS_ROOT)/make/custom/lpc40xx.inc
diff --git a/bsps/arm/lpc24xx/config/lpc40xx_ea_rom_int-testsuite.tcfg b/bsps/arm/lpc24xx/config/lpc40xx_ea_rom_int-testsuite.tcfg
new file mode 100644
index 0000000000..3a968c4a74
--- /dev/null
+++ b/bsps/arm/lpc24xx/config/lpc40xx_ea_rom_int-testsuite.tcfg
@@ -0,0 +1,8 @@
+#
+# lpc40xx_ea_rom_int RTEMS Test Database.
+#
+# Format is one line per test that is _NOT_ built.
+#
+
+include: testdata/disable-iconv-tests.tcfg
+exclude: fsdosfsname01
diff --git a/bsps/arm/lpc24xx/config/lpc40xx_ea_rom_int.cfg b/bsps/arm/lpc24xx/config/lpc40xx_ea_rom_int.cfg
new file mode 100644
index 0000000000..4c4eb4d360
--- /dev/null
+++ b/bsps/arm/lpc24xx/config/lpc40xx_ea_rom_int.cfg
@@ -0,0 +1,5 @@
+#
+# Config file for LPC40XX OEM Board from Embedded Artists.
+#
+
+include $(RTEMS_ROOT)/make/custom/lpc40xx.inc