Skip to content

Commit 3d23211

Browse files
authored
[realtek-ambz2] Fix partition table & bootloader flashing via UART (#307)
1 parent 1769680 commit 3d23211

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
@@ -427,8 +427,8 @@
427427
# same OTA images for flasher and device
428428
f"{image_firmware_is},{image_firmware_is}=device:ota1,ota2;flasher:ota1,ota2",
429429
# having flashed an application image, update the bootloader and partition table (incl. keys)
430-
f"{image_bootloader}=device:boot;flasher:boot",
431-
f"{image_part_table}=device:part_table;flasher:part_table",
430+
f"{image_bootloader},{image_bootloader}=flasher:boot,boot",
431+
f"{image_part_table},{image_part_table}=flasher:part_table,part_table",
432432
# clearing headers of the "other" OTA image (hence the indexes are swapped)
433433
f"{image_ota_clear},{image_ota_clear}=device:ota2,ota1;flasher:ota2,ota1",
434434
],

0 commit comments

Comments
 (0)