Skip to content
An improved EEPROM emulation Arduino library for ESP8266
Branch: master
Clone or download
Latest commit 33a9d4f Aug 31, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples Update ESP_EEPROM_Use.ino Jun 11, 2018
src Reorder warning fix Jun 15, 2018
.gitattributes Initial commit Feb 18, 2018
.gitignore Library structure created Feb 18, 2018
.project Initial Doxygen docs Jun 11, 2018 Added link to Library-Manager-FAQ Jun 26, 2018
keywords.txt V1.0.1 Mar 10, 2018 Fix URL typo Aug 31, 2018


An improved EEPROM emulation Arduino library for ESP8266

The ESP8266 family doesn't have genuine EEPROM memory so for Arduino it is normally emulated by using a section of flash memory.

With the standard ESP8266 EEPROM 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 using a bitmap. 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.

See for details on creating and updating a library to be made available via the Arduino Library Manager.

You can’t perform that action at this time.