@@ -146,19 +146,44 @@ config CHIP_NUS_MAX_COMMANDS
146
146
147
147
endif
148
148
149
+ choice CHIP_BOOTLOADER
150
+ prompt "Bootloader implementation for Matter purposes"
151
+ default CHIP_BOOTLOADER_SUIT if SOC_SERIES_NRF54HX
152
+ default CHIP_BOOTLOADER_MCUBOOT
153
+
154
+ config CHIP_BOOTLOADER_SUIT
155
+ bool "SUIT for Matter purposes"
156
+ imply SUIT
157
+ imply SSF_SUIT_SERVICE_ENABLED
158
+ # Configs required when we use MCUMGR
159
+ select MGMT_SUITFU if MCUMGR
160
+ select MGMT_SUITFU_GRP_SUITU if MCUMGR
161
+ select MCUMGR_SMP_LEGACY_RC_BEHAVIOUR if MCUMGR
162
+ select ZCBOR
163
+ select ZCBOR_CANONICAL
164
+ select DFU_TARGET_SUIT if DFU_TARGET
165
+
166
+ config CHIP_BOOTLOADER_MCUBOOT
167
+ bool "MCUBOOT for Matter Bootloader purpose"
168
+ imply BOOTLOADER_MCUBOOT
169
+ select MCUMGR_GRP_IMG
170
+ select IMG_MANAGER
171
+ select MCUMGR_GRP_OS
172
+
173
+ config CHIP_BOOTLOADER_NONE
174
+ bool "No bootloader selected for Matter purposes"
175
+
176
+ endchoice
149
177
150
178
config CHIP_DFU_OVER_BT_SMP
151
179
bool "Enable DFU over Bluetooth LE SMP feature set"
180
+ depends on !CHIP_BOOTLOADER_NONE
152
181
imply CHIP_QSPI_NOR if BOARD_NRF5340DK_NRF5340_CPUAPP || BOARD_NRF52840DK_NRF52840
153
182
imply CHIP_SPI_NOR if BOARD_NRF7002DK_NRF5340_CPUAPP || BOARD_NRF7002DK_NRF7001_NRF5340_CPUAPP || BOARD_NRF54L15PDK_NRF54L15_CPUAPP
154
- imply BOOTLOADER_MCUBOOT
155
183
select MCUMGR
156
184
select MCUMGR_TRANSPORT_BT
157
- select IMG_MANAGER
158
185
select STREAM_FLASH
159
186
select ZCBOR
160
- select MCUMGR_GRP_IMG
161
- select MCUMGR_GRP_OS
162
187
# Enable custom SMP request to erase settings partition.
163
188
select MCUMGR_GRP_ZBASIC
164
189
select MCUMGR_GRP_ZBASIC_STORAGE_ERASE
0 commit comments