Skip to content

Commit b0acf15

Browse files
committed
[nrf toup] Enable SPI configuration for nRF54L.
The external flash on nRF54L DK is driven by SPI, so we need to enable appropriate drivers. Also enabled MCUMGR_GRP_IMG_ALLOW_ERASE_PENDING config that allows to overwrite the secondary slot image even if the pending flag is set on that image. Signed-off-by: Marcin Kajor <marcin.kajor@nordicsemi.no>
1 parent 0ae05f2 commit b0acf15

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

config/nrfconnect/chip-module/Kconfig.defaults

+2-2
Original file line numberDiff line numberDiff line change
@@ -204,12 +204,12 @@ config CHIP_QSPI_NOR
204204

205205
# nRF7002DK uses SPI NOR external flash
206206

207-
if BOARD_NRF7002DK_NRF5340_CPUAPP || BOARD_NRF7002DK_NRF7001_NRF5340_CPUAPP
207+
if BOARD_NRF7002DK_NRF5340_CPUAPP || BOARD_NRF7002DK_NRF7001_NRF5340_CPUAPP || BOARD_NRF54L15PDK_NRF54L15_CPUAPP
208208

209209
config CHIP_SPI_NOR
210210
default y
211211

212-
endif # BOARD_NRF7002DK_NRF5340_CPUAPP || BOARD_NRF7002DK_NRF7001_NRF5340_CPUAPP
212+
endif # BOARD_NRF7002DK_NRF5340_CPUAPP || BOARD_NRF7002DK_NRF7001_NRF5340_CPUAPP || BOARD_NRF54L15PDK_NRF54L15_CPUAPP
213213

214214
config BOOT_IMAGE_ACCESS_HOOKS
215215
default y if SOC_SERIES_NRF53X

config/nrfconnect/chip-module/Kconfig.features

+2-1
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ config CHIP_SPI_NOR
6060
imply SPI_NOR
6161
imply MULTITHREADING
6262
imply PM_OVERRIDE_EXTERNAL_DRIVER_CHECK
63+
imply MCUMGR_GRP_IMG_ALLOW_ERASE_PENDING
6364
help
6465
Enables SPI NOR flash with a set of options for configuring pages and
6566
buffer sizes.
@@ -149,7 +150,7 @@ endif
149150
config CHIP_DFU_OVER_BT_SMP
150151
bool "Enable DFU over Bluetooth LE SMP feature set"
151152
imply CHIP_QSPI_NOR if BOARD_NRF5340DK_NRF5340_CPUAPP || BOARD_NRF52840DK_NRF52840
152-
imply CHIP_SPI_NOR if BOARD_NRF7002DK_NRF5340_CPUAPP || BOARD_NRF7002DK_NRF7001_NRF5340_CPUAPP
153+
imply CHIP_SPI_NOR if BOARD_NRF7002DK_NRF5340_CPUAPP || BOARD_NRF7002DK_NRF7001_NRF5340_CPUAPP || BOARD_NRF54L15PDK_NRF54L15_CPUAPP
153154
imply BOOTLOADER_MCUBOOT
154155
select MCUMGR
155156
select MCUMGR_TRANSPORT_BT

0 commit comments

Comments
 (0)