Skip to content

Update EEPROM library documentation #6548

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Sep 23, 2019
Merged

Conversation

mcspr
Copy link
Collaborator

@mcspr mcspr commented Sep 23, 2019

As mentioned by @d-a-v #6537 (comment)

This rotate library was proposed here as a PR and instead moved to an arduino library #4493
doc (should be moved to the 'Other libraries' paragraph below?)
https://github.com./jwrw/ESP_EEPROM

Update EEPROM description with mention of current implementation limitations
Move ESP_EEPROM to Other Libraries, update description from upstream README
Add https://github.com./xoseperez/eeprom_rotate to Other Libraries as an alternative

Note:
Both libraries depend on #6543
ESP_EEPROM is reimplementing EEPROM class, so the default address would be different from the original library when upgrading to 2.6.0 (for example, using 4m 1m spiffs address is shifted by 1 sector)
Rotate library only uses it for automatic calculation, which user can override. Default ("last") sector is calculated by subtracting 5 sectors from ESP::getFlashChipSize()

@earlephilhower earlephilhower merged commit 308e131 into esp8266:master Sep 23, 2019
@mcspr mcspr deleted the doc/eeprom branch September 23, 2019 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants