summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/app.lds4
1 files changed, 3 insertions, 1 deletions
diff --git a/firmware/app.lds b/firmware/app.lds
index 3cbf38210e..c6149252cb 100644
--- a/firmware/app.lds
+++ b/firmware/app.lds
@@ -2,9 +2,11 @@ ENTRY(start)
2OUTPUT_FORMAT(elf32-sh) 2OUTPUT_FORMAT(elf32-sh)
3INPUT(crt0.o) 3INPUT(crt0.o)
4 4
5#define DRAMSIZE (MEMORYSIZE * 0x100000)
6
5MEMORY 7MEMORY
6{ 8{
7 DRAM : ORIGIN = 0x09000000, LENGTH = 0x200000 9 DRAM : ORIGIN = 0x09000000, LENGTH = DRAMSIZE
8 IRAM : ORIGIN = 0x0f000000, LENGTH = 0x1000 10 IRAM : ORIGIN = 0x0f000000, LENGTH = 0x1000
9} 11}
10 12