ESP_EEPROM

Data Storage

An improved EEPROM library for ESP8266
The ESP8266 family doesn't have genuine EEPROM memory so it is normally emulated by using a section of flash memory. With the standard library, the sector needs to be re-flashed every time the changed EEPROM data needs to be saved. For small amounts of EEPROM data this is very slow and will wear out the flash memory more quickly. This library writes a new copy of your data when you save (commit) it and keeps track of where in the sector the most recent copy is kept. The flash sector only needs to be erased when there is no more space for copies in the flash sector. You can keep track of this yourself to do a time-consuming erase when most convenient or the library will do it for you when there is no more space for the data when you commit it.

Author: j-watson

Maintainer: j-watson

Read the documentation

Compatibility

This library is compatible with the esp8266 architecture.

Releases

To use this library, open the Library Manager in the Arduino IDE and install it from there.