summaryrefslogtreecommitdiff
path: root/ports/esp8266/boards/esp8266_1MiB.ld
blob: 94bc6a229a75bc3da4ff616666f21002b6f0e035 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* GNU linker script for ESP8266 with 1M flash

   Flash layout:
    0x40200000 36k  header + iram/dram init
    0x40209000 572k firmware (irom0)
    0x40298000 396k filesystem
    0x402fb000 20k  SDK parameters
*/

MEMORY
{
    dport0_0_seg : org = 0x3ff00000, len = 16
    dram0_0_seg :  org = 0x3ffe8000, len = 80K
    iram1_0_seg :  org = 0x40100000, len = 32K
    irom0_0_seg :  org = 0x40209000, len = 572K
}

/* define common sections and symbols */
INCLUDE boards/esp8266_common.ld