feat: added testcase to check ota resumption if FE is enabled

This commit also added config option to set default buffer size for OTA.
This testcase mainly checks if OTA resumption fails if data written is
not 16 byte aligned when Flash Encryption is enabled.
This commit is contained in:
nilesh.kale
2025-11-05 17:38:51 +05:30
parent 45d123602b
commit 7c40e5f45b
4 changed files with 116 additions and 0 deletions

View File

@@ -54,6 +54,13 @@ menu "Example Configuration"
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.
config EXAMPLE_OTA_BUF_SIZE
int "OTA buffer size"
default 1024
range 1024 65536
help
Buffer size for OTA data transfers in bytes.
config EXAMPLE_USE_CERT_BUNDLE
bool "Enable certificate bundle"
default y