fix(update): Check that there is a free OTA partition before writing#12264
fix(update): Check that there is a free OTA partition before writing#12264me-no-dev merged 1 commit intoespressif:masterfrom
Conversation
👋 Hello lbernstone, we appreciate your contribution to this project! 📘 Please review the project's Contributions Guide for key guidelines on code, documentation, testing, and more. 🖊️ Please also make sure you have read and signed the Contributor License Agreement for this project. Click to see more instructions ...
Review and merge process you can expect ...
|
Memory usage test (comparing PR against master branch)The table below shows the summary of memory usage change (decrease - increase) in bytes and percentage for each target.
Click to expand the detailed deltas report [usage change in BYTES]
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Test Results 90 files 90 suites 31m 49s ⏱️ Results for commit bc54f3fd. ♻️ This comment has been updated with latest results. |
Description of Change
Added a check to see that next OTA partition is not the running partition. Writing to the active partition causes an immediate crash.
Test Scenarios
Tested on an ESP32, but should be quite universal
Related links
Brought up in #12252, but that user is not expecting a fix.