Skip to content

Commit

Permalink
[nrf noup] boot: zephyr: let secondary_1 slot be in regular flash
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
sigvartmh committed Aug 23, 2023
1 parent 823fd36 commit 15d17d8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions boot/zephyr/pm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

0 comments on commit 15d17d8

Please sign in to comment.