1/* Note: stub is deliberately loaded close to the very top
2   of available RAM, to reduce change of colliding with anything
3   else... */
4MEMORY {
5  iram : org = 0x400BE000, len = 0x1000
6  dram : org = 0x3ffcc000, len = 0x14000
7}
8
9ENTRY(stub_main)
10
11SECTIONS {
12  .text : ALIGN(4) {
13    *(.literal)
14    *(.text .text.*)
15  } > iram
16
17  .bss : ALIGN(4) {
18     _bss_start = ABSOLUTE(.);
19    *(.bss)
20	_bss_end = ABSOLUTE(.);
21  } > dram
22
23  .data : ALIGN(4) {
24    *(.data)
25    *(.rodata .rodata.*)
26  } > dram
27}
28
29INCLUDE "rom_32.ld"
30