esp-idf/examples/system/ota/simple_ota_example
Laukik Hase ca84d2d6c9 esp_http_client: Added event for HTTP redirect
- Allows users to manually intercept and process the HTTP redirection
 when disable_auto_redirect (from the esp_http_client handle) is set to true

Closes https://github.com/espressif/esp-idf/issues/8029
2022-01-12 11:40:32 +05:30
..
main esp_http_client: Added event for HTTP redirect 2022-01-12 11:40:32 +05:30
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 OTA: enable example builds for esp32s2 target 2020-01-29 15:20:42 +01:00
example_test.py Fix 'address already in use' exception in OTA tests 2021-11-24 11:32:15 +08:00
README.md examples: Add OTA bind specified interface example 2021-03-10 02:19:29 +00:00
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 example_tests: Deletes usage esp32c3 ECO0 in CI (by default ECO3) 2021-09-24 13:55:07 +08:00
sdkconfig.defaults esp_https_ota: Add support for HTTPS based ota feature 2018-08-03 16:47:07 +05:30

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.