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

two OTA partition how to? #3

Closed
kenjican opened this issue Feb 16, 2022 · 3 comments
Closed

two OTA partition how to? #3

kenjican opened this issue Feb 16, 2022 · 3 comments

Comments

@kenjican
Copy link

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()

@ThinkTransit
Copy link
Contributor

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

@mkomon
Copy link
Owner

mkomon commented Jan 10, 2023

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
Copy link
Owner

mkomon commented Jan 10, 2023

Closing as old and non-actionable.

@mkomon mkomon closed this as completed Jan 10, 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

No branches or pull requests

3 participants