3 Commits

Author SHA1 Message Date
703fbf67b4 fixes ROM location 2025-09-15 21:02:23 +02:00
59d0a22738 adapts riscv-vp rom to implementation 2025-09-15 20:52:50 +02:00
3df19468e9 corrects XIP start addr in risc-v vp 2025-09-14 14:55:23 +02:00
2 changed files with 2 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
MEMORY
{
ram (wxa!ri) : ORIGIN = 0x00000000, LENGTH = 128K
rom (rxai!w) : ORIGIN = 0x1000E000, LENGTH = 2k
rom (rxai!w) : ORIGIN = 0x10080000, LENGTH = 8k
flash (rxai!w) : ORIGIN = 0x20000000, LENGTH = 16M
dram (wxa!ri) : ORIGIN = 0x40000000, LENGTH = 2048M
}

View File

@@ -24,7 +24,7 @@
#define PERIPH(TYPE, ADDR) ((volatile TYPE*)(ADDR))
// values from memory_map.ld
#define XIP_START_LOC 0x30000000
#define XIP_START_LOC 0x20000000
#define RAM_START_LOC 0x00000000
#define APB_BASE 0x10000000