esp-idf/examples/system/ota/simple_ota_example
..
main
server_certs
test
CMakeLists.txt
README.md
pytest_simple_ota.py
sdkconfig.ci
sdkconfig.ci.flash_enc_wifi
sdkconfig.ci.on_update_no_sb_ecdsa
sdkconfig.ci.on_update_no_sb_rsa
sdkconfig.ci.spiram
sdkconfig.ci.tls1_3
sdkconfig.defaults

README.md

Supported Targets ESP32 ESP32-C2 ESP32-C3 ESP32-C5 ESP32-C6 ESP32-C61 ESP32-P4 ESP32-S2 ESP32-S3

Simple OTA example

This example is based on esp_https_ota component's APIs.

Configuration

Refer README.md in the parent directory for setup details.

Example also supports binding to specific interface (either "Ethernet" or "WiFi Station"), which will allow firmware upgrade to happen through specific interface (in case multiple networking interfaces are enabled). Please see more on this through example configuration in idf.py menuconfig -> Example Configuration -> Support firmware upgrade bind specified interface->Choose OTA data bind interface.