_SPIFFS_end no longer defined on esp arduino
It seems that _SPIFFS_end will not be defined in future versions of esp8266 arduino, and has been replaced with _FS_end (as well as other declarations): https://github.com/esp8266/Arduino/commit/a389a995fb12459819e33970ec80695f1eaecc58
In this situation, I can not compile any example from this lib and the espurna project :( error:
c:/programy/arduino/hardware/esp8266com/esp8266/tools/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\TEMP\arduino_build_8160\libraries\eeprom_rotate\EEPROM_Rotate.cpp.o:(.text._ZN13EEPROM_Rotate8reservedEv+0x4): undefined reference to `_SPIFFS_end'
I don't get this compile error. Using [email protected]
I wrote about esp8266 current git master
ah sorry, missed that. Looks like all the SPIFFs needs to be ported to LittleFS. I'm guessing because of stability and backward compatibility the espurna libraries will always stay back on n-1 version of espressif so we may have to do the updates ourselves in a new branch?
new branch is a good idea, especially that espurna also needs patches in the utils.ino file
Just FYI, this can be aliased back. Not sure why Core PR removed old symbols.
For ESPurna specifically, .ld files (code/*.ld, per flash size) used by platformio need these:
PROVIDE ( _FS_start = _SPIFFS_start );
PROVIDE ( _FS_end = _SPIFFS_end );
If IDE / arduino-cli is used, .ld files in Core installation (tools/sdk/ld) need modification:
PROVIDE ( _SPIFFS_start = _FS_start );
PROVIDE ( _SPIFFS_end = _FS_end );
I know how to temporarily fix it but we need permanent solution, especially when we often refresh git version... ...we can get lost in manually edited files :)