Skip to content
Permalink
Browse files

soc: nordic: Add HAS_HW_NRF_RADIO_IEEE802154 Kconfig option

Add a hidden Kconfig option indicating that a given SoC is equipped
with the IEEE 802.15.4 capable radio so that the corresponding driver
configuration can depend on it.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
  • Loading branch information...
anangl authored and ioannisg committed Jul 31, 2019
1 parent c2ee00f commit dd7999d253fbeb831fec7cf7d790f8c08da21fb7
@@ -8,7 +8,7 @@

menuconfig IEEE802154_NRF5
bool "nRF52 series IEEE 802.15.4 Driver"
depends on NETWORKING && SOC_NRF52840
depends on NETWORKING && HAS_HW_NRF_RADIO_IEEE802154
select HAS_NORDIC_DRIVERS

if IEEE802154_NRF5
@@ -104,6 +104,9 @@ config HAS_HW_NRF_QDEC
config HAS_HW_NRF_QSPI
bool

config HAS_HW_NRF_RADIO_IEEE802154
bool

config HAS_HW_NRF_RNG
bool

@@ -63,6 +63,7 @@ config SOC_NRF52811
select HAS_HW_NRF_PPI
select HAS_HW_NRF_PWM0
select HAS_HW_NRF_QDEC
select HAS_HW_NRF_RADIO_IEEE802154
select HAS_HW_NRF_RNG
select HAS_HW_NRF_RTC0
select HAS_HW_NRF_RTC1
@@ -187,6 +188,7 @@ config SOC_NRF52840
select HAS_HW_NRF_PWM3
select HAS_HW_NRF_QDEC
select HAS_HW_NRF_QSPI
select HAS_HW_NRF_RADIO_IEEE802154
select HAS_HW_NRF_RNG
select HAS_HW_NRF_RTC0
select HAS_HW_NRF_RTC1

0 comments on commit dd7999d

Please sign in to comment.
You can’t perform that action at this time.