File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -35,10 +35,10 @@ if(CONFIG_BOOTLOADER_MCUBOOT)
3535 ${MCUBOOT_BASE} /scripts/imgtool.py
3636 sign
3737 --key ${MCUBOOT_BASE} /${CONFIG_BOOT_SIGNATURE_KEY_FILE}
38- --header-size $<TARGET_PROPERTY:partition_manager,MCUBOOT_HEADER_SIZE >
38+ --header-size $<TARGET_PROPERTY:partition_manager,PM_MCUBOOT_PAD_SIZE >
3939 --align ${DT_FLASH_WRITE_BLOCK_SIZE}
4040 --version ${CONFIG_MCUBOOT_IMAGE_VERSION}
41- --slot-size $<TARGET_PROPERTY:partition_manager,MCUBOOT_SLOT_SIZE >
41+ --slot-size $<TARGET_PROPERTY:partition_manager,PM_MCUBOOT_PRIMARY_SIZE >
4242 --pad-header
4343 )
4444
@@ -70,7 +70,7 @@ if(CONFIG_BOOTLOADER_MCUBOOT)
7070 ${CMAKE_OBJCOPY}
7171 --input -target =ihex
7272 --output -target =ihex
73- --change-address $<TARGET_PROPERTY:partition_manager,MCUBOOT_SLOT_SIZE >
73+ --change-address $<TARGET_PROPERTY:partition_manager,PM_MCUBOOT_PRIMARY_SIZE >
7474 ${update_hex}
7575 ${PROJECT_BINARY_DIR} /moved_update.hex
7676 DEPENDS
You can’t perform that action at this time.
0 commit comments