diff --git a/builder/family/realtek-ambz2.py b/builder/family/realtek-ambz2.py index 98c5c908b..95c60d06c 100644 --- a/builder/family/realtek-ambz2.py +++ b/builder/family/realtek-ambz2.py @@ -448,8 +448,8 @@ def encode_for_define(data: bytes) -> str: # use patched OTA image for device f"{image_firmware_is_ota},{image_firmware_is_ota}=device:ota1,ota2", # having flashed an application image, update the bootloader and partition table (incl. keys) - f"{image_bootloader}=flasher:boot", - f"{image_part_table}=flasher:part_table", + f"{image_bootloader},{image_bootloader}=flasher:boot,boot", + f"{image_part_table},{image_part_table}=flasher:part_table,part_table", # clearing headers of the "other" OTA image (hence the indexes are swapped) f"{image_ota_clear},{image_ota_clear}=flasher:ota2,ota1", ],