summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2019-11-24 11:18:53 +0700
committerGitHub <[email protected]>2019-11-24 11:18:53 +0700
commit64b05a1d5f312e754bba79f9b38ac5e9ca281a66 (patch)
treedc4b0e028ecc4768cf820eed3a5c29ac93ee4a9a
parentac65e94b8695ad8b1e5944cc06c21b27139112dc (diff)
parenta106c5114b3774283b45fc69f53af02c7253da7b (diff)
Merge pull request #225 from xobs/fomu-offset-fix
bsp: fomu: fix rom address for example programs
-rw-r--r--hw/bsp/fomu/fomu.ld4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/bsp/fomu/fomu.ld b/hw/bsp/fomu/fomu.ld
index abc91b8ea..13278d2ad 100644
--- a/hw/bsp/fomu/fomu.ld
+++ b/hw/bsp/fomu/fomu.ld
@@ -7,7 +7,7 @@ MEMORY {
csr : ORIGIN = 0x60000000, LENGTH = 0x01000000
vexriscv_debug : ORIGIN = 0xf00f0000, LENGTH = 0x00000100
ram : ORIGIN = 0x10000000, LENGTH = 0x00020000
- rom : ORIGIN = 0x2001a000, LENGTH = 0x00200000 - 0x1a000
+ rom : ORIGIN = 0x20040000, LENGTH = 0x00200000 - 0x40000
}
/* The stack size used by the application. NOTE: you need to adjust according to your application. */
@@ -101,4 +101,4 @@ SECTIONS
. = ALIGN(4);
_end = . ;
-} \ No newline at end of file
+}