Applying this patch causes the example to hang:
diff --git a/kernel.c b/kernel.c
index be748fd..07da912 100644
--- a/kernel.c
+++ b/kernel.c
@@ -18,7 +18,7 @@ int start() {
// (0 - 0x2000) are reserved by spike and the third page contains the
// host-target interface symbols defined in the kernel (0x2000, 0x2008).
uint32_t sram_addr = 0x12340000;
- uint32_t flash_addr = 0x81234000;
+ uint32_t flash_addr = 0x0ABCD000;
const void* elf_data = cm; // App to load.
It may just be that this causes two memory regions to overlap but by my calculations there is enough space.
Applying this patch causes the example to hang:
It may just be that this causes two memory regions to overlap but by my calculations there is enough space.