Skip to content

Commit e6050cc

Browse files
committed
bluetooh: controller: Force ICACHE and DCACHE select on nRF SoCs
The ICACHE and DCACHE must be enabled when using Bluetooth stack on nRF54h20 radio core. If it is not, then real time requirements are not met and the stack will not work. To make sure a user doesn't try to run an application with caches disabled force its selection when building Bluetooth controller. Having both caches enabled is also benefitial on other nRF SoCs, hence the change makes ICACHE and DCACHE to be selected if a CPU has CPU_HAS_ICACHE or CPU_HAS_DCACHE selected. Signed-off-by: Piotr Pryga <[email protected]>
1 parent cb8ed76 commit e6050cc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

subsys/bluetooth/controller/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ config BT_LL_SOFTDEVICE
99
default y
1010
select HAS_BT_CTLR
1111
select MPSL
12+
select ICACHE if CPU_HAS_ICACHE
13+
select DCACHE if CPU_HAS_DCACHE
1214
select ZERO_LATENCY_IRQS if !SOC_SERIES_BSIM_NRFXX
1315
select BT_CTLR_CRYPTO_SUPPORT
1416
select BT_CTLR_ENTROPY_SUPPORT

0 commit comments

Comments
 (0)