mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-25 20:02:37 +03:00
* Move ICACHE_* to unique sections, local LD script Similar to PROGMEM changes, make the name of each ICACHE_* variable/fuction unique to avoid issues with section conflicts. Also rename the generated LD linker script to avoid issue with older copies of the eagle.app.v6.common.ld which were generated by the build process in a global directory before being moved to the {build.path}. The linker would use the older, generated *.ld file instead of the generated one, which would lead to runtime failures on some systems and cause the VTABLE location to not correspond to the IDE menu selection. Fixes #5115, and is an update to #5117 and #5116. * Update boards.txt.py and platform.io build
23 lines
738 B
Plaintext
23 lines
738 B
Plaintext
/* Flash Split for 1M chips */
|
|
/* sketch @0x40200000 (~487KB) (499696B) */
|
|
/* empty @0x40279FF0 (~4KB) (4112B) */
|
|
/* spiffs @0x4027B000 (~512KB) (524288B) */
|
|
/* eeprom @0x402FB000 (4KB) */
|
|
/* rfcal @0x402FC000 (4KB) */
|
|
/* wifi @0x402FD000 (12KB) */
|
|
|
|
MEMORY
|
|
{
|
|
dport0_0_seg : org = 0x3FF00000, len = 0x10
|
|
dram0_0_seg : org = 0x3FFE8000, len = 0x14000
|
|
iram1_0_seg : org = 0x40100000, len = 0x8000
|
|
irom0_0_seg : org = 0x40201010, len = 0x79ff0
|
|
}
|
|
|
|
PROVIDE ( _SPIFFS_start = 0x4027B000 );
|
|
PROVIDE ( _SPIFFS_end = 0x402FB000 );
|
|
PROVIDE ( _SPIFFS_page = 0x100 );
|
|
PROVIDE ( _SPIFFS_block = 0x2000 );
|
|
|
|
INCLUDE "local.eagle.app.v6.common.ld"
|