aboutsummaryrefslogtreecommitdiff
path: root/debug/targets/RISC-V/spike64.py
diff options
context:
space:
mode:
authorAnatoly Parshintsev <114445139+aap-sc@users.noreply.github.com>2024-05-01 23:09:09 +0300
committerGitHub <noreply@github.com>2024-05-01 13:09:09 -0700
commit1dde0ef3bee0d3f86c6f41796f28625924dc6ba0 (patch)
treeade9fafdcdfe4b0c524e13aeb66ae4a44a13984d /debug/targets/RISC-V/spike64.py
parent6b1d7372d951ed75811e0a09c0fe9e065c141c2d (diff)
downloadriscv-tests-1dde0ef3bee0d3f86c6f41796f28625924dc6ba0.zip
riscv-tests-1dde0ef3bee0d3f86c6f41796f28625924dc6ba0.tar.gz
riscv-tests-1dde0ef3bee0d3f86c6f41796f28625924dc6ba0.tar.bz2
[debug tests] increase remotetimeout for all spike-based targets (#553)
Spike simulator is very demanding to CPU resources. This causes debug tests to sporadically fail on slower machines. Increasing of gdb's `remotetimeout` should get rid of such failures, unless we run the testsuite on a potato. The only downside is that if OpenOCD is broken, tests can run longer. However, I think this is the sacrifice we can make, since execution time is not affected if everything works as expected.
Diffstat (limited to 'debug/targets/RISC-V/spike64.py')
-rw-r--r--debug/targets/RISC-V/spike64.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug/targets/RISC-V/spike64.py b/debug/targets/RISC-V/spike64.py
index 8f5ba4f..5616977 100644
--- a/debug/targets/RISC-V/spike64.py
+++ b/debug/targets/RISC-V/spike64.py
@@ -14,7 +14,7 @@ class spike64_hart(targets.Hart):
class spike64(targets.Target):
harts = [spike64_hart()]
openocd_config_path = "spike-1.cfg"
- timeout_sec = 30
+ timeout_sec = 180
implements_custom_test = True
freertos_binary = "bin/RTOSDemo64.axf"
support_unavailable_control = True