Skip to content

Commit 9a131fc

Browse files
committed
[nrf fromtree] modules: mcuboot: Add Kconfig for firmware updater image
Adds a Kconfig which can be selected when building for firmware updater mode to select if this is the application or the firmware updater image that is being built Signed-off-by: Jamie McCrae <[email protected]> (cherry picked from commit 890787d)
1 parent 187d590 commit 9a131fc

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

modules/Kconfig.mcuboot

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,16 @@ config MCUBOOT_BOOTLOADER_NO_DOWNGRADE
256256
MCUBOOT_DOWNGRADE_PREVENTION option enabled.
257257
endif
258258

259+
config MCUBOOT_APPLICATION_FIRMWARE_UPDATER
260+
bool "Application is firmware updater image"
261+
depends on MCUBOOT_BOOTLOADER_MODE_FIRMWARE_UPDATER
262+
help
263+
Select this if the current image is the firmware updater image. This will use slot 1
264+
information when signing the image.
265+
266+
Note that the zephyr chosen node ``zephyr,code-partition`` should be set to
267+
``slot1_partition`` for this image.
268+
259269
endmenu # On board MCUboot operation mode
260270

261271
endif # BOOTLOADER_MCUBOOT

0 commit comments

Comments
 (0)