summaryrefslogtreecommitdiffstats
path: root/bsps/arm/lpc176x
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/lpc176x
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/lpc176x')
-rw-r--r--bsps/arm/lpc176x/config/lpc1768_mbed-testsuite.tcfg20
-rw-r--r--bsps/arm/lpc176x/config/lpc1768_mbed.cfg22
-rw-r--r--bsps/arm/lpc176x/config/lpc1768_mbed_ahb_ram-testsuite.tcfg21
-rw-r--r--bsps/arm/lpc176x/config/lpc1768_mbed_ahb_ram.cfg5
-rw-r--r--bsps/arm/lpc176x/config/lpc1768_mbed_ahb_ram_eth-testsuite.tcfg32
-rw-r--r--bsps/arm/lpc176x/config/lpc1768_mbed_ahb_ram_eth.cfg5
6 files changed, 105 insertions, 0 deletions
diff --git a/bsps/arm/lpc176x/config/lpc1768_mbed-testsuite.tcfg b/bsps/arm/lpc176x/config/lpc1768_mbed-testsuite.tcfg
new file mode 100644
index 0000000000..1abc639cdc
--- /dev/null
+++ b/bsps/arm/lpc176x/config/lpc1768_mbed-testsuite.tcfg
@@ -0,0 +1,20 @@
+#
+# lpc1768 mbed 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
+
+exclude: flashdisk01
+exclude: ftp01
+exclude: utf8proc01
+exclude: spstkalloc02
+exclude: fsdosfsname01
+exclude: linpack
+exclude: pppd
+exclude: mghttpd01
+exclude: tmfine01
+exclude: iostream
+exclude: rtems++
diff --git a/bsps/arm/lpc176x/config/lpc1768_mbed.cfg b/bsps/arm/lpc176x/config/lpc1768_mbed.cfg
new file mode 100644
index 0000000000..3e9255e88f
--- /dev/null
+++ b/bsps/arm/lpc176x/config/lpc1768_mbed.cfg
@@ -0,0 +1,22 @@
+#
+# Config file for mbed LPC1768 board.
+#
+
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
+RTEMS_CPU = arm
+
+CPU_CFLAGS = -march=armv7-m -mthumb
+
+CFLAGS_OPTIMIZE_V = -O2 -ggdb3
+CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
+LDFLAGS = -Wl,--gc-sections
+
+BINEXT?=.bin
+# This defines the operations performed on the linked executable.
+# is currently required.
+define bsp-post-link
+ $(OBJCOPY) -O binary --strip-all \
+ $(basename $@)$(EXEEXT) $(basename $@)$(BINEXT)
+ $(SIZE) $(basename $@)$(EXEEXT)
+endef
diff --git a/bsps/arm/lpc176x/config/lpc1768_mbed_ahb_ram-testsuite.tcfg b/bsps/arm/lpc176x/config/lpc1768_mbed_ahb_ram-testsuite.tcfg
new file mode 100644
index 0000000000..8b423a1f04
--- /dev/null
+++ b/bsps/arm/lpc176x/config/lpc1768_mbed_ahb_ram-testsuite.tcfg
@@ -0,0 +1,21 @@
+#
+# lpc1768_mbed_ahb_ram 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
+
+exclude: flashdisk01
+exclude: fsdosfsname01
+exclude: ftp01
+exclude: linpack
+exclude: mghttpd01
+exclude: pppd
+exclude: spstkalloc02
+exclude: sptls02
+exclude: tmfine01
+exclude: utf8proc01
+exclude: iostream
+exclude: rtems++
diff --git a/bsps/arm/lpc176x/config/lpc1768_mbed_ahb_ram.cfg b/bsps/arm/lpc176x/config/lpc1768_mbed_ahb_ram.cfg
new file mode 100644
index 0000000000..e187d1ff30
--- /dev/null
+++ b/bsps/arm/lpc176x/config/lpc1768_mbed_ahb_ram.cfg
@@ -0,0 +1,5 @@
+#
+# Config file for mbed LPC1768 board.
+#
+
+include $(RTEMS_ROOT)/make/custom/lpc1768_mbed.cfg
diff --git a/bsps/arm/lpc176x/config/lpc1768_mbed_ahb_ram_eth-testsuite.tcfg b/bsps/arm/lpc176x/config/lpc1768_mbed_ahb_ram_eth-testsuite.tcfg
new file mode 100644
index 0000000000..ed465c10f6
--- /dev/null
+++ b/bsps/arm/lpc176x/config/lpc1768_mbed_ahb_ram_eth-testsuite.tcfg
@@ -0,0 +1,32 @@
+#
+# lpc1768_mbed_ahb_ram_eth 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
+
+exclude: fileio
+exclude: ftp01
+exclude: cdtest
+exclude: flashdisk01
+exclude: fsdosfsname01
+exclude: linpack
+exclude: mghttpd01
+exclude: monitor01
+exclude: monitor02
+exclude: pppd
+exclude: psxconfig01
+exclude: rbheap01
+exclude: sp16
+exclude: sp25
+exclude: sp48
+exclude: spregion_err01
+exclude: spstkalloc
+exclude: spstkalloc02
+exclude: sptls02
+exclude: tmfine01
+exclude: utf8proc01
+exclude: iostream
+exclude: rtems++
diff --git a/bsps/arm/lpc176x/config/lpc1768_mbed_ahb_ram_eth.cfg b/bsps/arm/lpc176x/config/lpc1768_mbed_ahb_ram_eth.cfg
new file mode 100644
index 0000000000..e187d1ff30
--- /dev/null
+++ b/bsps/arm/lpc176x/config/lpc1768_mbed_ahb_ram_eth.cfg
@@ -0,0 +1,5 @@
+#
+# Config file for mbed LPC1768 board.
+#
+
+include $(RTEMS_ROOT)/make/custom/lpc1768_mbed.cfg