From 4a665d2ed67b727a5fce7e5f7fecbfbc9a099424 Mon Sep 17 00:00:00 2001 From: Andrzej Kuros Date: Fri, 19 Jan 2024 22:50:16 +0100 Subject: [PATCH] nrf_802154: use dependency onv for user channels of nrf_rtc_timer The nrf_rtc_timer allows dependency inversion. The nRF 802.15.4 Radio Driver now expresses an additive requirement on the number of user channels of nrf_rtc_timer by setting Kconfig option NRF_RTC_TIMER_USER_CHAN_COUNT_ADD_* Related sdk-zephyr PR, which introduces the feature to the nrf_rtc_timer: https://github.com/nrfconnect/sdk-zephyr/pull/1455 Signed-off-by: Andrzej Kuros --- nrf_802154/zephyr/Kconfig.nrfxlib | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/nrf_802154/zephyr/Kconfig.nrfxlib b/nrf_802154/zephyr/Kconfig.nrfxlib index 4a25e0b999..f49653d9a8 100644 --- a/nrf_802154/zephyr/Kconfig.nrfxlib +++ b/nrf_802154/zephyr/Kconfig.nrfxlib @@ -53,6 +53,14 @@ config NRF_802154_SL_HPTIMER endif # NRF_802154_SL +config CONFIG_NRF_RTC_TIMER_USER_CHAN_COUNT_ADD_NRF_802154_RADIO_DRIVER + int + default 2 if NRF_802154_SL + default 0 + help + Additional requirements on nrf_rtc_timer user channels required by + the nRF 802.15.4 Radio Driver. + endif # NRF_802154_RADIO_DRIVER orsource "../internal/Kconfig.nrfxlib"