@@ -64,6 +64,7 @@ config MCUMGR_GRP_IMG_VERBOSE_ERR
6464
6565config MCUMGR_GRP_IMG_ALLOW_CONFIRM_NON_ACTIVE_IMAGE_SECONDARY
6666 bool "Allow to confirm secondary slot of non-active image"
67+ depends on !MCUBOOT_BOOTLOADER_MODE_FIRMWARE_UPDATER
6768 default y
6869 help
6970 Allows to confirm secondary (non-active) slot of non-active image.
@@ -74,6 +75,7 @@ config MCUMGR_GRP_IMG_ALLOW_CONFIRM_NON_ACTIVE_IMAGE_SECONDARY
7475
7576config MCUMGR_GRP_IMG_ALLOW_CONFIRM_NON_ACTIVE_IMAGE_ANY
7677 bool "Allow to confirm slots of non-active image"
78+ depends on !MCUBOOT_BOOTLOADER_MODE_FIRMWARE_UPDATER
7779 select MCUMGR_GRP_IMG_ALLOW_CONFIRM_NON_ACTIVE_IMAGE_SECONDARY
7880 help
7981 Allows to confirm any slot of non-active image.
@@ -82,18 +84,18 @@ config MCUMGR_GRP_IMG_ALLOW_CONFIRM_NON_ACTIVE_IMAGE_ANY
8284 broken and may not boot in other slot; instead application should
8385 have means to test and confirm the image.
8486
85- if !MCUBOOT_BOOTLOADER_MODE_DIRECT_XIP
8687config MCUMGR_GRP_IMG_ALLOW_ERASE_PENDING
8788 bool "Allow to erase pending slot"
89+ depends on !MCUBOOT_BOOTLOADER_MODE_DIRECT_XIP
8890 default y
8991 help
9092 Allows erasing secondary slot which is marked for test or confirmed; this allows
9193 erasing slots that have been set for next boot but the device has not
9294 reset yet, so has not yet been swapped.
93- endif
9495
9596config MCUMGR_GRP_IMG_DIRECT_UPLOAD
9697 bool "Allow direct image upload"
98+ depends on !MCUBOOT_BOOTLOADER_MODE_FIRMWARE_UPDATER
9799 help
98100 Enables directly uploading image to selected image partition.
99101 This changes how "image" is understood by MCUmgr: normally MCUmgr allows uploading to
@@ -106,6 +108,7 @@ config MCUMGR_GRP_IMG_DIRECT_UPLOAD
106108
107109config MCUMGR_GRP_IMG_REJECT_DIRECT_XIP_MISMATCHED_SLOT
108110 bool "Reject Direct-XIP applications with mismatched address"
111+ depends on MCUBOOT_BOOTLOADER_MODE_DIRECT_XIP || MCUBOOT_BOOTLOADER_MODE_DIRECT_XIP_WITH_REVERT
109112 help
110113 When enabled, the MCUmgr will compare base address of application,
111114 encoded into .bin file header with use of imgtool, on upload and will
0 commit comments