diff options
Diffstat (limited to 'debug')
-rw-r--r-- | debug/targets/RISC-V/spike32-2.py | 1 | ||||
-rw-r--r-- | debug/targets/RISC-V/spike32.py | 1 | ||||
-rw-r--r-- | debug/targets/RISC-V/spike64-2.py | 1 | ||||
-rw-r--r-- | debug/targets/RISC-V/spike64-2gdb.py | 11 | ||||
-rw-r--r-- | debug/targets/RISC-V/spike64.py | 1 |
5 files changed, 15 insertions, 0 deletions
diff --git a/debug/targets/RISC-V/spike32-2.py b/debug/targets/RISC-V/spike32-2.py index 09bab1d..6cf558d 100644 --- a/debug/targets/RISC-V/spike32-2.py +++ b/debug/targets/RISC-V/spike32-2.py @@ -6,6 +6,7 @@ import spike32 # pylint: disable=import-error class spike32_2(targets.Target): harts = [spike32.spike32_hart(), spike32.spike32_hart()] openocd_config_path = "spike.cfg" + timeout_sec = 30 def create(self): return testlib.Spike(self) diff --git a/debug/targets/RISC-V/spike32.py b/debug/targets/RISC-V/spike32.py index e80f60a..fc7d598 100644 --- a/debug/targets/RISC-V/spike32.py +++ b/debug/targets/RISC-V/spike32.py @@ -12,6 +12,7 @@ class spike32_hart(targets.Hart): class spike32(targets.Target): harts = [spike32_hart()] openocd_config_path = "spike.cfg" + timeout_sec = 30 def create(self): return testlib.Spike(self) diff --git a/debug/targets/RISC-V/spike64-2.py b/debug/targets/RISC-V/spike64-2.py index f2e0a8a..c6321dc 100644 --- a/debug/targets/RISC-V/spike64-2.py +++ b/debug/targets/RISC-V/spike64-2.py @@ -6,6 +6,7 @@ import spike64 # pylint: disable=import-error class spike64_2(targets.Target): harts = [spike64.spike64_hart(), spike64.spike64_hart()] openocd_config_path = "spike.cfg" + timeout_sec = 30 def create(self): return testlib.Spike(self) diff --git a/debug/targets/RISC-V/spike64-2gdb.py b/debug/targets/RISC-V/spike64-2gdb.py new file mode 100644 index 0000000..200ffaa --- /dev/null +++ b/debug/targets/RISC-V/spike64-2gdb.py @@ -0,0 +1,11 @@ +import targets +import testlib + +import spike64 + +class spike64_2gdb(targets.Target): + harts = [spike64.spike64_hart(), spike64.spike64_hart()] + openocd_config_path = "spike-2gdb.cfg" + + def create(self): + return testlib.Spike(self) diff --git a/debug/targets/RISC-V/spike64.py b/debug/targets/RISC-V/spike64.py index 84586e3..6e3da89 100644 --- a/debug/targets/RISC-V/spike64.py +++ b/debug/targets/RISC-V/spike64.py @@ -12,6 +12,7 @@ class spike64_hart(targets.Hart): class spike64(targets.Target): harts = [spike64_hart()] openocd_config_path = "spike.cfg" + timeout_sec = 30 def create(self): return testlib.Spike(self) |