feat(esp_https_ota): added ota resumption feature

This commit enabled configurable OTA resumption feature in advanced ota example.
This resumes downloading OTA image from where it left off in case of
an error or reboot.

Closes https://github.com/espressif/esp-idf/issues/13127
This commit is contained in:
nilesh.kale
2025-01-23 10:24:03 +05:30
committed by Mahavir Jain
parent 706b5e44d3
commit 5c5df89950
7 changed files with 325 additions and 32 deletions
@@ -44,4 +44,13 @@ menu "Example Configuration"
help
This options specifies HTTP request size. Number of bytes specified
in this option will be downloaded in single HTTP request.
config EXAMPLE_ENABLE_OTA_RESUMPTION
bool "Enable OTA resumption"
default n
help
This enables the OTA resumption feature.
This option allows one to configure the OTA process to resume downloading the OTA image
from where it left off in case of an error or reboot.
endmenu