summaryrefslogtreecommitdiff
path: root/bsps/sh/shsim
diff options
context:
space:
mode:
Diffstat (limited to 'bsps/sh/shsim')
-rw-r--r--bsps/sh/shsim/config/simsh1-testsuite.tcfg15
-rw-r--r--bsps/sh/shsim/config/simsh1.cfg18
-rw-r--r--bsps/sh/shsim/config/simsh2-testsuite.tcfg15
-rw-r--r--bsps/sh/shsim/config/simsh2.cfg18
-rw-r--r--bsps/sh/shsim/config/simsh2e-testsuite.tcfg14
-rw-r--r--bsps/sh/shsim/config/simsh2e.cfg17
-rw-r--r--bsps/sh/shsim/config/simsh4-testsuite.tcfg14
-rw-r--r--bsps/sh/shsim/config/simsh4.cfg17
8 files changed, 128 insertions, 0 deletions
diff --git a/bsps/sh/shsim/config/simsh1-testsuite.tcfg b/bsps/sh/shsim/config/simsh1-testsuite.tcfg
new file mode 100644
index 0000000000..d567a8d697
--- /dev/null
+++ b/bsps/sh/shsim/config/simsh1-testsuite.tcfg
@@ -0,0 +1,15 @@
+#
+# simsh1 RTEMS Test Database.
+#
+# Format is one line per test that is _NOT_ built.
+#
+
+include: testdata/require-tick-isr.tcfg
+include: testdata/disable-intrcritical-tests.tcfg
+include: testdata/disable-iconv-tests.tcfg
+
+exclude: fileio
+exclude: fsdosfsname01
+exclude: iostream
+exclude: linpack
+exclude: utf8proc01
diff --git a/bsps/sh/shsim/config/simsh1.cfg b/bsps/sh/shsim/config/simsh1.cfg
new file mode 100644
index 0000000000..0f1da687a8
--- /dev/null
+++ b/bsps/sh/shsim/config/simsh1.cfg
@@ -0,0 +1,18 @@
+#
+# simsh1.cfg
+#
+# default configuration for gdb-simulation of Hitachi sh1 processors
+
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
+RTEMS_CPU=sh
+
+# This contains the compiler options necessary to select the CPU model
+# and (hopefully) optimize for it.
+CPU_CFLAGS = -m1
+
+# optimize flag: typically -O2
+CFLAGS_OPTIMIZE_V = -O2 -g
+CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
+
+LDFLAGS = -Wl,--gc-sections
diff --git a/bsps/sh/shsim/config/simsh2-testsuite.tcfg b/bsps/sh/shsim/config/simsh2-testsuite.tcfg
new file mode 100644
index 0000000000..8d4f381dfd
--- /dev/null
+++ b/bsps/sh/shsim/config/simsh2-testsuite.tcfg
@@ -0,0 +1,15 @@
+#
+# simsh2 RTEMS Test Database.
+#
+# Format is one line per test that is _NOT_ built.
+#
+
+include: testdata/require-tick-isr.tcfg
+include: testdata/disable-intrcritical-tests.tcfg
+include: testdata/disable-iconv-tests.tcfg
+
+exclude: fileio
+exclude: fsdosfsname01
+exclude: iostream
+exclude: linpack
+exclude: utf8proc01
diff --git a/bsps/sh/shsim/config/simsh2.cfg b/bsps/sh/shsim/config/simsh2.cfg
new file mode 100644
index 0000000000..cde1fb2fbf
--- /dev/null
+++ b/bsps/sh/shsim/config/simsh2.cfg
@@ -0,0 +1,18 @@
+#
+# simsh2.cfg
+#
+# default configuration for gdb-simulation of Hitachi sh2 processors
+
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
+RTEMS_CPU=sh
+
+# This contains the compiler options necessary to select the CPU model
+# and (hopefully) optimize for it.
+CPU_CFLAGS = -m2
+
+# optimize flag: typically -O2
+CFLAGS_OPTIMIZE_V = -O2 -g
+CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
+
+LDFLAGS = -Wl,--gc-sections
diff --git a/bsps/sh/shsim/config/simsh2e-testsuite.tcfg b/bsps/sh/shsim/config/simsh2e-testsuite.tcfg
new file mode 100644
index 0000000000..100b61cc9d
--- /dev/null
+++ b/bsps/sh/shsim/config/simsh2e-testsuite.tcfg
@@ -0,0 +1,14 @@
+#
+# The GDB SH Simulator does not have a tick interrupt
+# and the simsh2e configuration has limited memory.
+#
+
+include: testdata/require-tick-isr.tcfg
+include: testdata/disable-intrcritical-tests.tcfg
+include: testdata/disable-iconv-tests.tcfg
+
+exclude: fileio
+exclude: fsdosfsname01
+exclude: iostream
+exclude: linpack
+exclude: utf8proc01
diff --git a/bsps/sh/shsim/config/simsh2e.cfg b/bsps/sh/shsim/config/simsh2e.cfg
new file mode 100644
index 0000000000..ce34d26d78
--- /dev/null
+++ b/bsps/sh/shsim/config/simsh2e.cfg
@@ -0,0 +1,17 @@
+#
+# Config file for the sh simulator in gdb as SH2E
+#
+
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
+RTEMS_CPU=sh
+
+# This contains the compiler options necessary to select the CPU model
+# and (hopefully) optimize for it.
+CPU_CFLAGS = -m2e -ml
+
+# optimize flag: typically -O2
+CFLAGS_OPTIMIZE_V = -O2 -g
+CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
+
+LDFLAGS = -Wl,--gc-sections
diff --git a/bsps/sh/shsim/config/simsh4-testsuite.tcfg b/bsps/sh/shsim/config/simsh4-testsuite.tcfg
new file mode 100644
index 0000000000..0fa2e7744e
--- /dev/null
+++ b/bsps/sh/shsim/config/simsh4-testsuite.tcfg
@@ -0,0 +1,14 @@
+#
+# The GDB SH Simulator does not have a tick interrupt
+# and the simsh4 configuration has limited memory.
+#
+
+include: testdata/require-tick-isr.tcfg
+include: testdata/disable-intrcritical-tests.tcfg
+include: testdata/disable-iconv-tests.tcfg
+
+exclude: fileio
+exclude: fsdosfsname01
+exclude: iostream
+exclude: linpack
+exclude: utf8proc01
diff --git a/bsps/sh/shsim/config/simsh4.cfg b/bsps/sh/shsim/config/simsh4.cfg
new file mode 100644
index 0000000000..c23a8b93b5
--- /dev/null
+++ b/bsps/sh/shsim/config/simsh4.cfg
@@ -0,0 +1,17 @@
+#
+# Config file for the sh simulator in gdb
+#
+
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
+RTEMS_CPU=sh
+
+# This contains the compiler options necessary to select the CPU model
+# and (hopefully) optimize for it.
+CPU_CFLAGS = -m4 -ml
+
+# optimize flag: typically -O2
+CFLAGS_OPTIMIZE_V = -O2 -g
+CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
+
+LDFLAGS = -Wl,--gc-sections