Skip to content

Commit 56e2b23

Browse files
committed
[realtek-ambz2] Fix partition table & bootloader flashing via UART
1 parent cfd00d6 commit 56e2b23

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

builder/family/realtek-ambz2.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -448,8 +448,8 @@ def encode_for_define(data: bytes) -> str:
448448
# use patched OTA image for device
449449
f"{image_firmware_is_ota},{image_firmware_is_ota}=device:ota1,ota2",
450450
# having flashed an application image, update the bootloader and partition table (incl. keys)
451-
f"{image_bootloader}=flasher:boot",
452-
f"{image_part_table}=flasher:part_table",
451+
f"{image_bootloader},{image_bootloader}=flasher:boot,boot",
452+
f"{image_part_table},{image_part_table}=flasher:part_table,part_table",
453453
# clearing headers of the "other" OTA image (hence the indexes are swapped)
454454
f"{image_ota_clear},{image_ota_clear}=flasher:ota2,ota1",
455455
],

0 commit comments

Comments
 (0)