Skip to content
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

Added convert method to EEPROM to transfer data from partition to nvs #2841

Merged
merged 4 commits into from
Jul 9, 2019
Merged

Added convert method to EEPROM to transfer data from partition to nvs #2841

merged 4 commits into from
Jul 9, 2019

Conversation

lbernstone
Copy link
Contributor

No description provided.

@me-no-dev
Copy link
Member

Uhmm... how will that work if the EEPROM partitions are removed from the schemes? How will you get to execute that code and for it to run on older partition schemes?

@lbernstone
Copy link
Contributor Author

It is just for a one time conversion from partition to nvs. You run it independently before the begin. If there is no partition, or if the partition is empty (all 0xFF), then it returns a 0 (no bytes converted).

@lbernstone
Copy link
Contributor Author

It is written such that it does no harm if run multiple times. So, I could roll it into the begin routine if that makes sense to you.

@me-no-dev me-no-dev merged commit ca7106e into espressif:master Jul 9, 2019
@lbernstone lbernstone deleted the EEPROMconvert branch August 27, 2019 18:36
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.

2 participants