You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix access-controller OTA bricking on first update after USB flash
On a freshly USB-flashed device, otadata is erased and Ota::current_slot()
returns Slot::None. With no factory partition, the IDF bootloader falls
back to booting ota_0 - but Slot::None.next() returns Slot0, so OtaWriter
picked ota_0 (the running slot) as the destination and overwrote the live
app in place before pointing otadata at the half-written result.
Normalize Slot::None to Slot0 before computing the next slot so the first
OTA after a USB flash lands in ota_1.
0 commit comments