OTA guide for ESP32
Posted: Mon May 25, 2020 8:11 am
Is there some official documentation on updating firmware of an ESP32 "over-the-air".
If I build the firmware I have either one complete firmware.bin or the pieces bootloader.bin, application.bin and partitions.bin. Which of these do I need for an OTA? I'm not sure what needs to be copied to the OTA partition...
For building I'm using the default setup from the ports/esp32/boards/GENERIC_OTA.
Say I managed to get the .bin(s) downloaded to the ESP32, what is the right way to flash/write/copy this (where to?) and how to activate it on next boot ensuring we can keep updating-over-the-air in the future?
If I build the firmware I have either one complete firmware.bin or the pieces bootloader.bin, application.bin and partitions.bin. Which of these do I need for an OTA? I'm not sure what needs to be copied to the OTA partition...
For building I'm using the default setup from the ports/esp32/boards/GENERIC_OTA.
Say I managed to get the .bin(s) downloaded to the ESP32, what is the right way to flash/write/copy this (where to?) and how to activate it on next boot ensuring we can keep updating-over-the-air in the future?