Skip to content

Commit

Permalink
nrf_802154: use dependency onv for user channels of nrf_rtc_timer
Browse files Browse the repository at this point in the history
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: nrfconnect/sdk-zephyr#1455

Signed-off-by: Andrzej Kuros <[email protected]>
  • Loading branch information
ankuns committed Jan 19, 2024
1 parent 352ea3d commit 4a665d2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions nrf_802154/zephyr/Kconfig.nrfxlib
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 4a665d2

Please sign in to comment.