Compare commits
3 Commits
bf0e4ec057
...
develop
Author | SHA1 | Date | |
---|---|---|---|
703fbf67b4 | |||
59d0a22738 | |||
3df19468e9 |
2
env/riscv_vp/memory_map.ld
vendored
2
env/riscv_vp/memory_map.ld
vendored
@@ -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
|
||||
}
|
||||
|
2
env/riscv_vp/platform.h
vendored
2
env/riscv_vp/platform.h
vendored
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user