Skip to content

Commit 492a422

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 e089ee0 commit 492a422

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
@@ -525,11 +525,17 @@ config NRFX_SPI2
525525
depends on $(dt_nodelabel_exists,spi2) && SOC_SERIES_NRF52X
526526
select NRFX_SPI
527527

528+
DT_COMPAT_NORDIC_NRF_SPIM := nordic,nrf-spim
529+
528530
config NRFX_SPIM
529-
bool
531+
bool "SPIM driver"
532+
depends on $(dt_has_compat,$(DT_COMPAT_NORDIC_NRF_SPIM))
533+
534+
DT_COMPAT_NORDIC_NRF_SPIS := nordic,nrf-spis
530535

531536
config NRFX_SPIS
532-
bool
537+
bool "SPIS driver"
538+
depends on $(dt_has_compat,$(DT_COMPAT_NORDIC_NRF_SPIS))
533539

534540
config NRFX_SYSTICK
535541
bool "SYSTICK driver"

0 commit comments

Comments
 (0)