diff options
Diffstat (limited to 'firmware/player.lds')
-rw-r--r-- | firmware/player.lds | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/firmware/player.lds b/firmware/player.lds index 2e594b6db1..49678d887e 100644 --- a/firmware/player.lds +++ b/firmware/player.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 | ||
@@ -56,11 +58,17 @@ SECTIONS | |||
56 | _mp3buf = .; | 58 | _mp3buf = .; |
57 | } > DRAM | 59 | } > DRAM |
58 | 60 | ||
59 | .mp3end 0x09200000 : | 61 | .mp3end 0x09200000 - 0x300: |
60 | { | 62 | { |
61 | _mp3end = .; | 63 | _mp3end = .; |
62 | } > DRAM | 64 | } > DRAM |
63 | 65 | ||
66 | .topram : AT ( _topramcopy ) { | ||
67 | _topramstart = .; | ||
68 | *(.topcode) | ||
69 | _topramend = .; | ||
70 | } > DRAM | ||
71 | |||
64 | .iram 0xf000000 : AT ( _iramcopy ) | 72 | .iram 0xf000000 : AT ( _iramcopy ) |
65 | { | 73 | { |
66 | _iramstart = .; | 74 | _iramstart = .; |