Add test case for `riscv expose_custom`.
[riscv-tests.git] / debug / targets / RISC-V / spike32-2.py
index a7b9a1c0a7a1b244afef8f4980554cbd8ec6b53c..6c90b7c87f808d9b2a229072417365e3a67357b1 100644 (file)
@@ -5,8 +5,9 @@ import spike32  # pylint: disable=import-error
 
 class spike32_2(targets.Target):
     harts = [spike32.spike32_hart(), spike32.spike32_hart()]
-    openocd_config_path = "spike-rtos.cfg"
+    openocd_config_path = "spike-2.cfg"
     timeout_sec = 30
+    implements_custom_test = True
 
     def create(self):
-        return testlib.Spike(self)
+        return testlib.Spike(self, isa="RV32IMAFC", progbufsize=0)