summaryrefslogtreecommitdiffstats
path: root/bsps/mips/jmr3904
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/mips/jmr3904
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/mips/jmr3904')
-rw-r--r--bsps/mips/jmr3904/config/jmr3904-testsuite.tcfg9
-rw-r--r--bsps/mips/jmr3904/config/jmr3904.cfg16
2 files changed, 25 insertions, 0 deletions
diff --git a/bsps/mips/jmr3904/config/jmr3904-testsuite.tcfg b/bsps/mips/jmr3904/config/jmr3904-testsuite.tcfg
new file mode 100644
index 0000000000..a8d24a09a9
--- /dev/null
+++ b/bsps/mips/jmr3904/config/jmr3904-testsuite.tcfg
@@ -0,0 +1,9 @@
+#
+# The GDB MIPS JMR3904 simulator in GDB
+#
+
+include: testdata/disable-intrcritical-tests.tcfg
+
+# The simulator catches the data access fault and exits before the
+# simulated MIPS handler can run.
+exclude: spfatal26
diff --git a/bsps/mips/jmr3904/config/jmr3904.cfg b/bsps/mips/jmr3904/config/jmr3904.cfg
new file mode 100644
index 0000000000..ed4e6b3be0
--- /dev/null
+++ b/bsps/mips/jmr3904/config/jmr3904.cfg
@@ -0,0 +1,16 @@
+#
+# Config file for the jmr3904 board which has a simulator in gdb
+#
+
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
+RTEMS_CPU=mips
+
+CPU_CFLAGS = -march=r3900 -Wa,-xgot -G0
+
+CFLAGS_OPTIMIZE_V = -O2 -g
+
+# arguments to compile and link with per-element sections
+CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
+LDFLAGS = -Wl,--gc-sections
+