Add test case for `riscv expose_custom`.
[riscv-tests.git] / debug / targets / RISC-V / spike32.py
index bcb58927bc0e55205dffa7997edbfafdf94c05f6..a831ecbb2af2ae63d9e5a0cbcfbe870885cefa0b 100644 (file)
@@ -11,8 +11,10 @@ class spike32_hart(targets.Hart):
 
 class spike32(targets.Target):
     harts = [spike32_hart()]
-    openocd_config_path = "spike.cfg"
+    openocd_config_path = "spike-1.cfg"
     timeout_sec = 30
+    implements_custom_test = True
 
     def create(self):
-        return testlib.Spike(self)
+        # 64-bit FPRs on 32-bit target
+        return testlib.Spike(self, isa="RV32IMAFDC")