arduino-esp32/libraries/EEPROM
Hideaki Tai 02c3ec01cc
remove _user_defined_size from EEPROM (#5775)
Summary

Related to the issue #5773 and #2280.

_user_defined_size is removed from EEPROMClass because it is redundant in the current code
EEPROMClass::length() returns _size that is the true available size of EEPROM
Impact

_user_defined_size is removed from EEPROMClass
EEPROMClass::length() returns _size that is the true available size of EEPROM
2021-10-25 09:15:47 +03:00
..
examples remove _user_defined_size from EEPROM (#5775) 2021-10-25 09:15:47 +03:00
src remove _user_defined_size from EEPROM (#5775) 2021-10-25 09:15:47 +03:00
keywords.txt Add EEPROMClass and examples (#1034) 2018-03-04 20:22:48 +01:00
library.properties Bump library versions to 2.0.0 (#5182) 2021-05-18 14:00:49 +03:00
README.md Converted EEPROM library to use nvs instead of partition. (#2678) 2019-04-23 23:55:12 +03:00

EEPROM

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.