ESP_EEPROM

An improved EEPROM library for ESP8266

Author
j-watson
Website
https://github.com/jwrw/ESP_EEPROM
Category
Data Storage
Library Type
Contributed
Architectures
Any

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.

Downloads

Filename Release Date File Size
ESP_EEPROM-1.0.1.zip 2018-03-10 11.18 KiB