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

make updating bootloader version safer #29

Merged
merged 3 commits into from
Dec 7, 2024

Conversation

tridge
Copy link
Member

@tridge tridge commented Nov 24, 2024

only update in eeprom settings area if we did a soft reset (user initiated reset) and preserve settings up to 1024 bytes

alternative to #27

@tridge tridge force-pushed the pr-safer-version-update branch from f766cf4 to be3ce65 Compare November 27, 2024 04:22
only update in eeprom settings area if we did a soft reset (user
initiated reset) and preserve settings up to 1024 bytes
when the config client writes the eeprom area automatically replace
the version byte with the right version to avoid the extra flash
erase/write in update_EEPROM()
@tridge tridge force-pushed the pr-safer-version-update branch from be3ce65 to 852b5ac Compare November 27, 2024 04:39
@tridge tridge mentioned this pull request Nov 27, 2024
@AlkaMotors AlkaMotors merged commit abb7edd into am32-firmware:master Dec 7, 2024
4 checks passed
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