| 1 |
/* Note: stub is deliberately loaded close to the very top |
| 2 |
of available RAM, to reduce change of colliding with anything |
| 3 |
else... */ |
| 4 |
MEMORY { |
| 5 |
iram : org = 0x4010D000, len = 0x2100 |
| 6 |
dram : org = 0x3FFE8100, len = 0x13f00 |
| 7 |
} |
| 8 |
|
| 9 |
ENTRY(stub_main_8266) |
| 10 |
|
| 11 |
SECTIONS { |
| 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 |
|
| 29 |
INCLUDE "rom_8266.ld" |
| 30 |
|
| 31 |
PROVIDE(SPIFlashModeConfig = 0x40004568); |
| 32 |
PROVIDE(SPIParamCfg = 0x40004c2c); |