feat: enhance OTA update process with improved file verification and new OTA data initialization

This commit is contained in:
2025-02-20 15:07:13 +01:00
parent 52cf46d7f8
commit 6391054c23
4 changed files with 85 additions and 7 deletions

View File

@ -65,6 +65,7 @@ build_flags =
-DCONFIG_BOOTLOADER_RESERVE_RTC_SIZE=0x1000
-DCONFIG_PARTITION_TABLE_OFFSET=0x8000
-DCONFIG_PARTITION_TABLE_MD5=y
-DBOOT_APP_PARTITION_OTA_0=1
extra_scripts =
scripts/extra_script.py
@ -72,6 +73,7 @@ extra_scripts =
pre:scripts/pre_spiffs.py ; wird als zweites ausgeführt
pre:scripts/combine_html.py ; wird als drittes ausgeführt
scripts/gzip_files.py
post:post_extra_script.py
; Remove or comment out the targets line
;targets = buildfs, build