ef03ca8bf2
This merges the existing GENERIC, GENERIC_1M, and GENERIC_512k boards into variants of the new ESP8266_GENERIC board (renamed from GENERIC so as not to clash with other ports). Also moves the generation of the "OTA" variant (previously generated by autobuild/build-esp8266-latest.sh) into the variant. Following the convention established for the WEACTSTUDIO rp2 board, the names of the variants are FLASH_1M and FLASH_512K (but rename the .ld files to use MiB and kiB). Updates autobuild to build esp8266 firmware the same way as other ports. This requires renaming the output from firmware-combined.bin to just firmware.bin. This work was funded through GitHub Sponsors. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
19 lines
473 B
Plaintext
19 lines
473 B
Plaintext
/* GNU linker script for ESP8266 with 512K flash
|
|
|
|
Flash layout:
|
|
0x40200000 36k header + iram/dram init
|
|
0x40209000 456k firmware (irom0)
|
|
0x4027b000 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 = 512K - 36K - 20K
|
|
}
|
|
|
|
/* define common sections and symbols */
|
|
INCLUDE boards/esp8266_common.ld
|