prampec / IotWebConf

ESP8266/ESP32 non-blocking WiFi/AP web configuration Arduino library
MIT License
523 stars 140 forks source link

Any plans to change the settings storage to use NVS directly? #285

Open TheCutter opened 5 months ago

TheCutter commented 5 months ago

As stated EEPROM is deprecated:

EEPROM is deprecated. For new applications on ESP32, use Preferences. EEPROM is provided for backwards compatibility with existing Arduino applications. EEPROM is implemented using a single blob within NVS, so it is a container within a container. As such, it is not going to be a high performance storage method. Preferences will directly use nvs, and store each entry as a single object therein.

https://github.com/espressif/arduino-esp32/tree/master/libraries/EEPROM