Test debugging with/without a program buffer
[riscv-tests.git] / debug / targets / RISC-V / spike32-2.py
index 3f87d2697e39c4d0c0225d3099fe26764d18dfb7..89d3c2a3602bbc59bd96f92bdeda052df81d167d 100644 (file)
@@ -1,11 +1,12 @@
 import targets
 import testlib
 
-import spike32
+import spike32  # pylint: disable=import-error
 
 class spike32_2(targets.Target):
     harts = [spike32.spike32_hart(), spike32.spike32_hart()]
-    openocd_config_path = "spike.cfg"
+    openocd_config_path = "spike-2.cfg"
+    timeout_sec = 30
 
     def create(self):
-        return testlib.Spike(self)
+        return testlib.Spike(self, isa="RV32IMAFC", progbufsize=0)