summaryrefslogtreecommitdiffstats
path: root/bsps/arm/tms570
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/tms570
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/tms570')
-rw-r--r--bsps/arm/tms570/config/tms570ls3137.inc25
-rw-r--r--bsps/arm/tms570/config/tms570ls3137_hdk-testsuite.tcfg7
-rw-r--r--bsps/arm/tms570/config/tms570ls3137_hdk.cfg5
-rw-r--r--bsps/arm/tms570/config/tms570ls3137_hdk_intram-testsuite.tcfg26
-rw-r--r--bsps/arm/tms570/config/tms570ls3137_hdk_intram.cfg5
-rw-r--r--bsps/arm/tms570/config/tms570ls3137_hdk_sdram.cfg5
-rw-r--r--bsps/arm/tms570/config/tms570ls3137_hdk_with_loader-testsuite.tcfg7
-rw-r--r--bsps/arm/tms570/config/tms570ls3137_hdk_with_loader.cfg5
8 files changed, 85 insertions, 0 deletions
diff --git a/bsps/arm/tms570/config/tms570ls3137.inc b/bsps/arm/tms570/config/tms570ls3137.inc
new file mode 100644
index 0000000000..76d5ccd2ba
--- /dev/null
+++ b/bsps/arm/tms570/config/tms570ls3137.inc
@@ -0,0 +1,25 @@
+#
+# Config file for TMS570LS3137 board.
+#
+
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
+RTEMS_CPU = arm
+
+CPU_CFLAGS = -march=armv7-r -mthumb -mbig-endian
+CPU_CFLAGS += -mfpu=vfpv3-d16 -mfloat-abi=hard
+
+CFLAGS_OPTIMIZE_V = -O2 -ggdb
+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/tms570/config/tms570ls3137_hdk-testsuite.tcfg b/bsps/arm/tms570/config/tms570ls3137_hdk-testsuite.tcfg
new file mode 100644
index 0000000000..cac977c83a
--- /dev/null
+++ b/bsps/arm/tms570/config/tms570ls3137_hdk-testsuite.tcfg
@@ -0,0 +1,7 @@
+#
+# tms570ls3137 mbed RTEMS Test Database.
+#
+# Format is one line per test that is _NOT_ built.
+#
+
+exclude: linpack
diff --git a/bsps/arm/tms570/config/tms570ls3137_hdk.cfg b/bsps/arm/tms570/config/tms570ls3137_hdk.cfg
new file mode 100644
index 0000000000..d769895360
--- /dev/null
+++ b/bsps/arm/tms570/config/tms570ls3137_hdk.cfg
@@ -0,0 +1,5 @@
+#
+# Config file for TMS570LS3137 board.
+#
+
+include $(RTEMS_ROOT)/make/custom/tms570ls3137.inc
diff --git a/bsps/arm/tms570/config/tms570ls3137_hdk_intram-testsuite.tcfg b/bsps/arm/tms570/config/tms570ls3137_hdk_intram-testsuite.tcfg
new file mode 100644
index 0000000000..c13e1597e0
--- /dev/null
+++ b/bsps/arm/tms570/config/tms570ls3137_hdk_intram-testsuite.tcfg
@@ -0,0 +1,26 @@
+#
+# tms570ls3137 RTEMS Test Database.
+#
+# Format is one line per test that is _NOT_ built.
+#
+
+include: testdata/disable-iconv-tests.tcfg
+exclude: fileio
+exclude: iostream
+exclude: pppd
+exclude: loopback
+exclude: syscall01
+exclude: utf8proc01
+exclude: monitor02
+exclude: mghttpd01
+exclude: ftp01
+exclude: fsdosfsname01
+exclude: jffs2_fserror
+exclude: jffs2_fslink
+exclude: jffs2_fspatheval
+exclude: jffs2_fspermission
+exclude: jffs2_fsrdwr
+exclude: jffs2_fsscandir01
+exclude: jffs2_fssymlink
+exclude: jffs2_fstime
+exclude: linpack
diff --git a/bsps/arm/tms570/config/tms570ls3137_hdk_intram.cfg b/bsps/arm/tms570/config/tms570ls3137_hdk_intram.cfg
new file mode 100644
index 0000000000..d769895360
--- /dev/null
+++ b/bsps/arm/tms570/config/tms570ls3137_hdk_intram.cfg
@@ -0,0 +1,5 @@
+#
+# Config file for TMS570LS3137 board.
+#
+
+include $(RTEMS_ROOT)/make/custom/tms570ls3137.inc
diff --git a/bsps/arm/tms570/config/tms570ls3137_hdk_sdram.cfg b/bsps/arm/tms570/config/tms570ls3137_hdk_sdram.cfg
new file mode 100644
index 0000000000..d769895360
--- /dev/null
+++ b/bsps/arm/tms570/config/tms570ls3137_hdk_sdram.cfg
@@ -0,0 +1,5 @@
+#
+# Config file for TMS570LS3137 board.
+#
+
+include $(RTEMS_ROOT)/make/custom/tms570ls3137.inc
diff --git a/bsps/arm/tms570/config/tms570ls3137_hdk_with_loader-testsuite.tcfg b/bsps/arm/tms570/config/tms570ls3137_hdk_with_loader-testsuite.tcfg
new file mode 100644
index 0000000000..8286e36b4a
--- /dev/null
+++ b/bsps/arm/tms570/config/tms570ls3137_hdk_with_loader-testsuite.tcfg
@@ -0,0 +1,7 @@
+#
+# tms570ls3137_hdk_with_loader RTEMS Test Database.
+#
+# Format is one line per test that is _NOT_ built.
+#
+
+exclude: linpack
diff --git a/bsps/arm/tms570/config/tms570ls3137_hdk_with_loader.cfg b/bsps/arm/tms570/config/tms570ls3137_hdk_with_loader.cfg
new file mode 100644
index 0000000000..d769895360
--- /dev/null
+++ b/bsps/arm/tms570/config/tms570ls3137_hdk_with_loader.cfg
@@ -0,0 +1,5 @@
+#
+# Config file for TMS570LS3137 board.
+#
+
+include $(RTEMS_ROOT)/make/custom/tms570ls3137.inc