Skip to content

Commit c08958b

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 a0491b6 commit c08958b

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
@@ -416,11 +416,17 @@ config NRFX_SPI2
416416
depends on $(dt_nodelabel_exists,spi2) && SOC_SERIES_NRF52X
417417
select NRFX_SPI
418418

419+
DT_COMPAT_NORDIC_NRF_SPIM := nordic,nrf-spim
420+
419421
config NRFX_SPIM
420-
bool
422+
bool "SPIM driver"
423+
depends on $(dt_has_compat,$(DT_COMPAT_NORDIC_NRF_SPIM))
424+
425+
DT_COMPAT_NORDIC_NRF_SPIS := nordic,nrf-spis
421426

422427
config NRFX_SPIS
423-
bool
428+
bool "SPIS driver"
429+
depends on $(dt_has_compat,$(DT_COMPAT_NORDIC_NRF_SPIS))
424430

425431
config NRFX_SYSTICK
426432
bool "SYSTICK driver"

0 commit comments

Comments
 (0)