Revert "Remove obsolete linker file"

This reverts commit 5ff735e4e783a46d68f333ce2a6b1a6618cdc294.
This commit is contained in:
Theo Arends 2018-09-02 15:23:11 +02:00
parent 5ff735e4e7
commit 9ff3233b97
2 changed files with 19 additions and 1 deletions

18
esp8266.flash.1m0.ld Normal file
View File

@ -0,0 +1,18 @@
/* Flash Split for 1M chips */
/* sketch 999KB */
/* eeprom 20KB */
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 = 0xf9ff0
}
PROVIDE ( _SPIFFS_start = 0x402FB000 );
PROVIDE ( _SPIFFS_end = 0x402FB000 );
PROVIDE ( _SPIFFS_page = 0 );
PROVIDE ( _SPIFFS_block = 0 );
INCLUDE "esp8266.flash.common.ld"

View File

@ -60,7 +60,7 @@ board_build.f_cpu = 80000000L
build_unflags = -Wall
build_flags =
-Wl,-Teagle.flash.1m0.ld
-Wl,-Tesp8266.flash.1m0.ld
; -DUSE_CONFIG_OVERRIDE
; lwIP 1.4 (Default)
; -DPIO_FRAMEWORK_ARDUINO_LWIP_HIGHER_BANDWIDTH