Replies: 1 comment 1 reply
-
You need to update the linker info as well to make that work. It's passed in thru boards.txt. OTW it just won't work and you'll try and write past end of flash. But there's not a good reason to use
and on app start
Error checking would be good too, but skipped here for brevity. You could also cycle through A/B versions of the file to help survive power cuts during update. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Since the Pi Pico EEPROM isn't a true EEPROM but a section of flash. Assuming the program isn't too large, if I modify EEPROM.cpp to use 8k or 16k, is there any concern? I know each commit() will wear out that chunk equally as it writes to the entire EEPROM section.
Beta Was this translation helpful? Give feedback.
All reactions