summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-09-27 03:43:02 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2017-09-27 03:43:02 +0200
commit065c251c85993d271d66cdae08e2046779a19cd4 (patch)
tree88287aa75f8eef8539dd60a8f7b0e793124ef44a
parent0029978210c660c21803c355e10fb5faf2188430 (diff)
add gdb sim sample for h8s
-rw-r--r--target/h8300/kernel/sim-h8s2
-rw-r--r--target/h8300/systems/sim-h8300h2
-rw-r--r--target/h8300/systems/sim-h8s8
-rw-r--r--target/linux/config/Config.in.serial2
4 files changed, 13 insertions, 1 deletions
diff --git a/target/h8300/kernel/sim-h8s b/target/h8300/kernel/sim-h8s
new file mode 100644
index 000000000..ce4cb5fa7
--- /dev/null
+++ b/target/h8300/kernel/sim-h8s
@@ -0,0 +1,2 @@
+CONFIG_H8S_SIM=y
+CONFIG_H8300_BUILTIN_DTB="h8s_sim"
diff --git a/target/h8300/systems/sim-h8300h b/target/h8300/systems/sim-h8300h
index bf733f9bd..f38b08480 100644
--- a/target/h8300/systems/sim-h8300h
+++ b/target/h8300/systems/sim-h8300h
@@ -1,5 +1,5 @@
config ADK_TARGET_SYSTEM_SIM_H8300H
- bool "GDB simulator"
+ bool "GDB simulator (h8300h)"
select ADK_TARGET_CPU_H8300H
select ADK_TARGET_SIM
select ADK_TARGET_PACKAGE_TXZ
diff --git a/target/h8300/systems/sim-h8s b/target/h8300/systems/sim-h8s
new file mode 100644
index 000000000..af61d0fbf
--- /dev/null
+++ b/target/h8300/systems/sim-h8s
@@ -0,0 +1,8 @@
+config ADK_TARGET_SYSTEM_SIM_H8S
+ bool "GDB simulator (h8s)"
+ select ADK_TARGET_CPU_H8S
+ select ADK_TARGET_SIM
+ select ADK_TARGET_PACKAGE_TXZ
+ help
+ H8/300 GDB simulator.
+
diff --git a/target/linux/config/Config.in.serial b/target/linux/config/Config.in.serial
index f82bf3c6e..d32efe085 100644
--- a/target/linux/config/Config.in.serial
+++ b/target/linux/config/Config.in.serial
@@ -238,8 +238,10 @@ config ADK_KERNEL_SERIAL_SH_SCI
bool "sci serial driver"
select ADK_KERNEL_SERIAL_SH_SCI_CONSOLE
depends on ADK_TARGET_SYSTEM_SIM_H8300H \
+ || ADK_TARGET_SYSTEM_SIM_H8S \
|| ADK_TARGET_SYSTEM_HITACHI_EDOSK2674
default y if ADK_TARGET_SYSTEM_SIM_H8300H
+ default y if ADK_TARGET_SYSTEM_SIM_H8S
default y if ADK_TARGET_SYSTEM_HITACHI_EDOSK2674
default n
help