Add 1M flash with 16k spiffs linker script

This commit is contained in:
arendst 2017-04-16 19:24:29 +02:00
parent c37158080a
commit c9742ad634
1 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,19 @@
/* Flash Split for 1M chips */
/* sketch 935KB */
/* spiffs 64KB */
/* 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 = 0xe9ff0
}
PROVIDE ( _SPIFFS_start = 0x402EB000 );
PROVIDE ( _SPIFFS_end = 0x402FB000 );
PROVIDE ( _SPIFFS_page = 0x100 );
PROVIDE ( _SPIFFS_block = 0x1000 );
INCLUDE "esp8266.flash.common.ld"