Skip to content

Commit 2667add

Browse files
[nrf fromlist] modules: hal_nordic: nrfx: make NRFX_SPI(M/S) selectable
Since selectable per-instance configs are removed, allow selecting the general symbol for driver. Upstream PR #: 96792 Signed-off-by: Michał Stasiak <[email protected]>
1 parent 284a3ad commit 2667add

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

modules/hal_nordic/nrfx/Kconfig

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -471,11 +471,17 @@ config NRFX_SPI2
471471
depends on $(dt_nodelabel_exists,spi2) && SOC_SERIES_NRF52X
472472
select NRFX_SPI
473473

474+
DT_COMPAT_NORDIC_NRF_SPIM := nordic,nrf-spim
475+
474476
config NRFX_SPIM
475-
bool
477+
bool "SPIM driver"
478+
depends on $(dt_has_compat,$(DT_COMPAT_NORDIC_NRF_SPIM))
479+
480+
DT_COMPAT_NORDIC_NRF_SPIS := nordic,nrf-spis
476481

477482
config NRFX_SPIS
478-
bool
483+
bool "SPIS driver"
484+
depends on $(dt_has_compat,$(DT_COMPAT_NORDIC_NRF_SPIS))
479485

480486
config NRFX_SYSTICK
481487
bool "SYSTICK driver"

0 commit comments

Comments
 (0)