esp-idf/examples/system/ota/simple_ota_example
Djordje Nedic facab8c5a7 tools: Increase the minimal supported CMake version to 3.16
This updates the minimal supported version of CMake to 3.16, which in turn enables us to use more CMake features and have a cleaner build system.
This is the version that provides most new features and also the one we use in our latest docker image for CI.
2022-06-01 06:35:02 +00:00
..
main examples: add dependency on cert bundle configuration 2022-04-06 05:10:43 +00:00
server_certs OTA examples: Updated server certificate 2021-07-13 13:14:32 +08:00
test simple_ota_example: Adds configs to test on_update_no_secure_boot option (RSA&ECDSA) 2021-04-13 11:28:13 +00:00
CMakeLists.txt tools: Increase the minimal supported CMake version to 3.16 2022-06-01 06:35:02 +00:00
pytest_simple_ota.py ota_example: Mark tests as flaky 2022-05-30 11:13:05 +05:30
README.md Migrate OTA example test to pytest framework 2022-05-23 13:11:21 +05:30
sdkconfig.ci example_tests: Deletes usage esp32c3 ECO0 in CI (by default ECO3) 2021-09-24 13:55:07 +08:00
sdkconfig.ci.flash_enc example_tests: Deletes usage esp32c3 ECO0 in CI (by default ECO3) 2021-09-24 13:55:07 +08:00
sdkconfig.ci.flash_enc_wifi example_tests: Deletes usage esp32c3 ECO0 in CI (by default ECO3) 2021-09-24 13:55:07 +08:00
sdkconfig.ci.on_update_no_sb_ecdsa simple_ota_example: Adds configs to test on_update_no_secure_boot option (RSA&ECDSA) 2021-04-13 11:28:13 +00:00
sdkconfig.ci.on_update_no_sb_rsa simple_ota_example: Adds configs to test on_update_no_secure_boot option (RSA&ECDSA) 2021-04-13 11:28:13 +00:00
sdkconfig.ci.spiram kconfig: move remaining kconfig options out of target component 2022-05-23 17:57:45 +08:00
sdkconfig.defaults examples/simple_ota: use certificate bundle in default configuration 2022-02-14 12:43:42 +05:30

Supported Targets ESP32 ESP32-S2 ESP32-S3 ESP32-C3

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 specificied interface->Choose OTA data bind interface.