PlatformIO Community

"'SPIFFS' is deprecated..."

‘SPIFFS’ is deprecated (declared at ~.platformio\packages\framework-arduinoespressif8266\cores\esp8266/FS.h:269): SPIFFS has been deprecated. Please consider moving to LittleFS or other filesystems. [-Wdeprecated-declarations]

Sorry, I feel this is an obvious question, but I can’t find the answer easily, so I thought I would ask.
I’m getting this error message and although I can quite easily ignore it, I’d quite like to get rid of the error.
I could just delete the library file that’s generating the error since I’m not using it, but that doesn’t strike me as being the best way to do it…

Which exact library is throwing that warning? You’d have to go to that library’s page and request an update.

The library code path should be above that error message.

Ah, sorry. It’s the ESPAsyncWebserver

Yeah it’s the default filesystem for the ESP8266 in the SPIFFSEditor.h file

It was already talked about it in https://github.com/me-no-dev/ESPAsyncWebServer/issues/780 and the issue was closed – but if you’re still getting that warning I guess you can ask again with the exact code you’re using.

Otherwise that warning can be ignore.

If you do switch to LittleFS, you ofc need to change this.

I’ll just delete SPIFFSEditor for now…