Skip to content

Commit 88889a1

Browse files
[nrf noup] Add SUIT to the Matter configuration
Added the new CHIP_SUIT config to enable all required dependencies for SUIT. Added SUIT for CHIP_DFU_OVER_BT_SMP to automatically enable SUIT module and BT SMP for nRF54H20.
1 parent 022f2c9 commit 88889a1

File tree

1 file changed

+29
-4
lines changed

1 file changed

+29
-4
lines changed

config/nrfconnect/chip-module/Kconfig.features

+29-4
Original file line numberDiff line numberDiff line change
@@ -146,19 +146,44 @@ config CHIP_NUS_MAX_COMMANDS
146146

147147
endif
148148

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
149177

150178
config CHIP_DFU_OVER_BT_SMP
151179
bool "Enable DFU over Bluetooth LE SMP feature set"
180+
depends on !CHIP_BOOTLOADER_NONE
152181
imply CHIP_QSPI_NOR if BOARD_NRF5340DK_NRF5340_CPUAPP || BOARD_NRF52840DK_NRF52840
153182
imply CHIP_SPI_NOR if BOARD_NRF7002DK_NRF5340_CPUAPP || BOARD_NRF7002DK_NRF7001_NRF5340_CPUAPP || BOARD_NRF54L15PDK_NRF54L15_CPUAPP
154-
imply BOOTLOADER_MCUBOOT
155183
select MCUMGR
156184
select MCUMGR_TRANSPORT_BT
157-
select IMG_MANAGER
158185
select STREAM_FLASH
159186
select ZCBOR
160-
select MCUMGR_GRP_IMG
161-
select MCUMGR_GRP_OS
162187
# Enable custom SMP request to erase settings partition.
163188
select MCUMGR_GRP_ZBASIC
164189
select MCUMGR_GRP_ZBASIC_STORAGE_ERASE

0 commit comments

Comments
 (0)