Search found 3 matches
- Sun Oct 31, 2021 5:50 pm
- Forum: ESP32 boards
- Topic: OTA of micropython code on ESP32?
- Replies: 10
- Views: 8479
Re: OTA of micropython code on ESP32?
I found that config parameter as well and found that it was turned on automatically when building an OTA board. However, it seemed that I got better results with calling it on the classmethod. Partition.set_boot(nextPartition) I could be mistaking here, but non the less, the latter worked for me.
- Sun Oct 31, 2021 5:45 pm
- Forum: Programs, Libraries and Tools
- Topic: micropython-mdns: MDNS with Service Discovery
- Replies: 3
- Views: 30856
Re: micropython-mdns: MDNS with Service Discovery
Hi, I've tried your code on https://github.com/cbrand/micropython-mdns on esp-idf release/v4.4 with micropython 1.17 and built it with: #define MICROPY_HW_ENABLE_MDNS_RESPONDER 0 #define MICROPY_HW_ENABLE_MDNS_QUERIES 0 The ESP32 does give me responses that I'm looking for, however it does not adver...
- Fri Oct 15, 2021 6:23 pm
- Forum: ESP32 boards
- Topic: OTA of micropython code on ESP32?
- Replies: 10
- Views: 8479
Re: OTA of micropython code on ESP32?
@BjHave Thanks for the forumpost with the OTA python code, this is one of the few examples that got me going. When I call nextPartition.set_boot I'm not changing to ota_1 though. First I ran your code, copying the content of currentPartition to nextPartion. from esp32 import Partition currentPartiti...