Change Spike's RAM location to match the linker script
authorPalmer Dabbelt <palmer@dabbelt.com>
Tue, 16 May 2017 19:47:39 +0000 (12:47 -0700)
committerPalmer Dabbelt <palmer@dabbelt.com>
Tue, 16 May 2017 19:48:05 +0000 (12:48 -0700)
debug/targets.py

index 17e752df8e72fe71749842ab8afc2bc2102c151e..423ff6955f3c64cc968d6a44a2a203a902bc8463 100644 (file)
@@ -64,8 +64,8 @@ class Target(object):
 class SpikeTarget(Target):
     # pylint: disable=abstract-method
     directory = "spike"
-    ram = 0x80010000
-    ram_size = 5 * 1024 * 1024
+    ram = 0x10000000
+    ram_size = 0x10000000
     instruction_hardware_breakpoint_count = 4
     reset_vector = 0x1000
     openocd_config = "targets/%s/openocd.cfg" % directory