From 15d17d829e33695f10a4cdb43bb4af87ac0feda0 Mon Sep 17 00:00:00 2001 From: Sigvart Hovland Date: Wed, 25 Jan 2023 16:34:15 +0100 Subject: [PATCH] =?UTF-8?q?[nrf=20noup]=C2=A0boot:=20zephyr:=20let=20secon?= =?UTF-8?q?dary=5F1=20slot=20be=20in=20regular=20flash?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Added support for multi-image DFU for nRF53 from internal flash which requires the region parameter of `mcuboot_secondary_1` to be configurable. So that the `mcuboot_secondary_1` partition is put into internal flash. Ref. NCSDK-12809 Signed-off-by: Sigvart Hovland --- boot/zephyr/pm.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/boot/zephyr/pm.yml b/boot/zephyr/pm.yml index 125b8813c..f220b2870 100644 --- a/boot/zephyr/pm.yml +++ b/boot/zephyr/pm.yml @@ -81,7 +81,12 @@ mcuboot_primary_1: #if (CONFIG_NRF53_MULTI_IMAGE_UPDATE) mcuboot_secondary_1: + #if (CONFIG_PM_EXTERNAL_FLASH_MCUBOOT_SECONDARY_1) region: external_flash + #endif /* CONFIG_PM_EXTERNAL_FLASH_MCUBOOT_SECONDARY_1 */ size: CONFIG_NRF53_RAM_FLASH_SIZE + placement: + after: mcuboot_secondary + align: {start: 4} #endif /* CONFIG_NRF53_MULTI_IMAGE_UPDATE */