Use 32-bit link script for 32-bit target.
[riscv-tests.git] / debug / targets / RISC-V / spike32.py
index e80f60a07a51e6ae38ee0b2afad51f201e1f0146..665d7e99a56c6ae73e7364a60ef11a33f80b14f5 100644 (file)
@@ -7,11 +7,12 @@ class spike32_hart(targets.Hart):
     ram_size = 0x10000000
     instruction_hardware_breakpoint_count = 4
     reset_vector = 0x1000
-    link_script_path = "spike64.lds"
+    link_script_path = "spike32.lds"
 
 class spike32(targets.Target):
     harts = [spike32_hart()]
     openocd_config_path = "spike.cfg"
+    timeout_sec = 30
 
     def create(self):
         return testlib.Spike(self)