diff --git a/modules/hal_nordic/nrfx/Kconfig b/modules/hal_nordic/nrfx/Kconfig index a0a90975f15..dc5c190f7f7 100644 --- a/modules/hal_nordic/nrfx/Kconfig +++ b/modules/hal_nordic/nrfx/Kconfig @@ -416,11 +416,17 @@ config NRFX_SPI2 depends on $(dt_nodelabel_exists,spi2) && SOC_SERIES_NRF52X select NRFX_SPI +DT_COMPAT_NORDIC_NRF_SPIM := nordic,nrf-spim + config NRFX_SPIM - bool + bool "SPIM driver" + depends on $(dt_has_compat,$(DT_COMPAT_NORDIC_NRF_SPIM)) + +DT_COMPAT_NORDIC_NRF_SPIS := nordic,nrf-spis config NRFX_SPIS - bool + bool "SPIS driver" + depends on $(dt_has_compat,$(DT_COMPAT_NORDIC_NRF_SPIS)) config NRFX_SYSTICK bool "SYSTICK driver"