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

platformio: Erase OTA partition before upload #190

Closed
wants to merge 1 commit into from

Conversation

fetzerch
Copy link
Contributor

@fetzerch fetzerch commented Jan 6, 2023

Erases the OTA partition before flashing, this ensures that the software flashed via USB will be booted and not an older OTA version.

See discussion in https://forum.espuino.de/t/neues-feature-ota-update-via-webgui/538/32

For now this is just an initial attempt that works in the good case.

TODOs:

  • Execute only for environments with OTA support.
  • Deal with empty boards that don't have the OTA partition.

Erases the OTA partition before flashing, this ensures that the
software flashed via USB will be booted and not an older OTA version.
@tueddy
Copy link
Collaborator

tueddy commented Oct 31, 2023

Problem seems to be solved in latest master (29.10.2023), maybe due to a bugfix in PlatformIO.
https://forum.espuino.de/t/neues-feature-ota-update-via-webgui/538/48

@tueddy tueddy closed this Oct 31, 2023
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.

None yet

2 participants