Skip to content

Commit

Permalink
Revert "[nxp noup][config][zephyr] OTA: wait until Matter app is buil…
Browse files Browse the repository at this point in the history
…t before building MCUBOOT"

This reverts commit e1ebf6b.

Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com>
  • Loading branch information
andrei-menzopol committed Apr 10, 2024
1 parent 5c77630 commit 4cca897
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/nxp/chip-module/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ if (CONFIG_CHIP_OTA_REQUESTOR)
COMMAND
cp ${PROJECT_BINARY_DIR}/../modules/connectedhomeip/build_mcuboot/zephyr/zephyr.bin ${PROJECT_BINARY_DIR}/zephyr.mcuboot.bin
)
add_dependencies(build_mcuboot ${ZEPHYR_FINAL_EXECUTABLE})

set(BLOCK_SIZE "1024")
dt_nodelabel(dts_partition_path NODELABEL "boot_partition")
dt_reg_size(mcuboot_size PATH ${dts_partition_path})
Expand All @@ -249,7 +249,7 @@ if (CONFIG_CHIP_OTA_REQUESTOR)
COMMAND
dd if=${PROJECT_BINARY_DIR}/${ZEPHYR_OUTPUT_NAME}.bin of=${PROJECT_BINARY_DIR}/zephyr_full.bin bs=${BLOCK_SIZE} seek=${boot_blocks}
)
add_dependencies(merge_mcuboot build_mcuboot)
add_dependencies(merge_mcuboot ${ZEPHYR_FINAL_EXECUTABLE})

if (CONFIG_CHIP_OTA_IMAGE_BUILD)
chip_ota_image(chip-ota-image
Expand Down

0 comments on commit 4cca897

Please sign in to comment.