uota icon indicating copy to clipboard operation
uota copied to clipboard

two OTA partition how to?

Open kenjican opened this issue 3 years ago • 1 comments

I compiled a ESP32 firmware , and now , boot partition is ota_0. uota could download and unzip firmware I put in a LAN web server. It's good.

My problem is how to copy this firmware downloaded in ota_0 and copy it to ota_1?

Since copied to ota_1. I could set boot partition by esp32.Partition.set_boot()

kenjican avatar Feb 16 '22 09:02 kenjican

Have you tried mounting ota_1 with os.mount()?

ThinkTransit avatar Jul 29 '22 11:07 ThinkTransit

Apologies for not responding sooner. To clarify, this library cannot update MicroPython firmware to a new version - it can only update (application) code written in MicroPython. I may really need to update the documentation and use the word "application" instead of "firmware".

mkomon avatar Jan 10 '23 23:01 mkomon

Closing as old and non-actionable.

mkomon avatar Jan 10 '23 23:01 mkomon