diff options
Diffstat (limited to 'firmware/gdb.lds')
-rw-r--r-- | firmware/gdb.lds | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/firmware/gdb.lds b/firmware/gdb.lds index badb7856fc..c214cb2e69 100644 --- a/firmware/gdb.lds +++ b/firmware/gdb.lds | |||
@@ -39,7 +39,9 @@ SECTIONS | |||
39 | _stackbegin = .; | 39 | _stackbegin = .; |
40 | /* We put the copy of the .iram section here to save space */ | 40 | /* We put the copy of the .iram section here to save space */ |
41 | _iramcopy = .; | 41 | _iramcopy = .; |
42 | . = 0x2000; | 42 | . += 0x2000; |
43 | _topramcopy = .; | ||
44 | . += 0x300; | ||
43 | _stackend = .; | 45 | _stackend = .; |
44 | } > DRAM | 46 | } > DRAM |
45 | 47 | ||
@@ -63,11 +65,17 @@ SECTIONS | |||
63 | _mp3buf = .; | 65 | _mp3buf = .; |
64 | } > DRAM | 66 | } > DRAM |
65 | 67 | ||
66 | .mp3end 0x09200000 : | 68 | .mp3end 0x09200000 - 0x300: |
67 | { | 69 | { |
68 | _mp3end = .; | 70 | _mp3end = .; |
69 | } > DRAM | 71 | } > DRAM |
70 | 72 | ||
73 | .topram : AT ( _topramcopy ) { | ||
74 | _topramstart = .; | ||
75 | *(.topcode) | ||
76 | _topramend = .; | ||
77 | } > DRAM | ||
78 | |||
71 | .iram 0xf000000 : AT ( _iramcopy ) | 79 | .iram 0xf000000 : AT ( _iramcopy ) |
72 | { | 80 | { |
73 | _iramstart = .; | 81 | _iramstart = .; |