Hello,
you are right, thanks. Now it’s ok, but in case of upload files with OTA in into the filesystem comes the error
Update error: ERROR[10]: Magic byte is wrong, not 0xE9 ?
Former i used the build_flags = -Wl,-Tesp.flash.2m.ld and there was place for spiffs!!! with the same name „flash.2m“.
/* Flash Split for 2M chips /
/ sketch 1019KB /
/ spiffs 1004KB /
/ 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 = 0xfeff0
}
PROVIDE ( _SPIFFS_start = 0x40300000 );
PROVIDE ( _SPIFFS_end = 0x403FB000 );
PROVIDE ( _SPIFFS_page = 0x100 );
PROVIDE ( _SPIFFS_block = 0x2000 );
INCLUDE “…/ld/eagle.app.v6.common.ld”
I use the 2MB linker file, that all my chips have the same filesystem
Thanks
Thomas