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

Write and retrieve configuration from persitent memory #7

Open
krzmaz opened this issue Nov 6, 2022 · 0 comments
Open

Write and retrieve configuration from persitent memory #7

krzmaz opened this issue Nov 6, 2022 · 0 comments

Comments

@krzmaz
Copy link
Owner

krzmaz commented Nov 6, 2022

Useful resource: https://www.makermatrix.com/blog/read-and-write-data-with-the-pi-pico-onboard-flash/

Due to the wear considerations (flash having the lifetime of 1000-10000 write-erase cycles), best would be to start with https://github.com/littlefs-project/littlefs as CMake external project dependency. If that's too problematic, a simpler approach can be considered with proper warnings to the users, see: https://arduino-pico.readthedocs.io/en/latest/eeprom.html.

Within this issue, retrieving the configuration during preparation of the configuration page and writing the data entered in the configuration page to flash is enough.

@krzmaz krzmaz added this to the No hard compiled data milestone Nov 6, 2022
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

No branches or pull requests

1 participant