SergiuToporjinschi / settingsmanager

Saving, reading and changing settings from Json file on SPIFFS
GNU General Public License v3.0
18 stars 8 forks source link

SPIFFS is deprecated #9

Open bit4man opened 3 years ago

bit4man commented 3 years ago

Getting a lot of warnings that SPIFFS is deprecated:

libraries/settingsmanager/src/SettingsManager.cpp:39:15: warning: 'SPIFFS' is deprecated (declared at /home/xxxxx/.arduino15/packages/esp8266/hardware/esp8266/2.7.4/cores/esp8266/FS.h:269): SPIFFS has been deprecated. Please consider moving to LittleFS or other filesystems. [-Wdeprecated-declarations]
   File file = SPIFFS.open(fileName, "r");

See https://arduino-esp8266.readthedocs.io/en/latest/filesystem.html#spiffs-deprecation-warning and LittleFS for supported version.