refactor: enhance OTA update process with improved handling of full image updates and SPIFFS data
This commit is contained in:
@ -59,6 +59,12 @@ build_flags =
|
||||
-DOTA_PARTITION_SUBTYPE=0x10
|
||||
-DPARTITION_TABLE_OFFSET=0x8000
|
||||
-DPARTITION_TABLE_SIZE=0x1000
|
||||
-DCONFIG_BOOTLOADER_APP_ROLLBACK_ENABLE=1
|
||||
-DCONFIG_BOOTLOADER_SKIP_VALIDATE_IN_DEEP_SLEEP=1
|
||||
-DCONFIG_BOOTLOADER_SKIP_VALIDATE_ON_POWER_ON=1
|
||||
-DCONFIG_BOOTLOADER_RESERVE_RTC_SIZE=0x1000
|
||||
-DCONFIG_PARTITION_TABLE_OFFSET=0x8000
|
||||
-DCONFIG_PARTITION_TABLE_MD5=y
|
||||
|
||||
extra_scripts =
|
||||
scripts/extra_script.py
|
||||
@ -66,7 +72,6 @@ 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
|
||||
# scripts/create_full_bin.py # Nicht mehr benötigt, da full.bin im Workflow erstellt wird
|
||||
|
||||
; Remove or comment out the targets line
|
||||
;targets = buildfs, build
|
||||
|
Reference in New Issue
Block a user