drivers: timer: conflict RTC timer with RTC1 counter
The system timer uses RTC1, but does not implement the counter API with it. Instead of auto-enabling the counter API on the system timer make the two conflict until/unless both APIs are supported by the peripheral. Signed-off-by: Peter A. Bigot <pab@pabigot.com>
This commit is contained in:
parent
889a55c86a
commit
e03c3d8f79
|
@ -180,6 +180,7 @@ endif #COUNTER_RTC0
|
|||
config COUNTER_RTC1
|
||||
bool "Enable Counter on RTC1"
|
||||
depends on HAS_HW_NRF_RTC1
|
||||
depends on !NRF_RTC_TIMER
|
||||
select COUNTER_NRF_RTC
|
||||
select NRFX_RTC1
|
||||
|
||||
|
|
|
@ -113,7 +113,6 @@ config NRF_RTC_TIMER
|
|||
default y
|
||||
depends on CLOCK_CONTROL_NRF
|
||||
select TICKLESS_CAPABLE
|
||||
select COUNTER_RTC1
|
||||
help
|
||||
This module implements a kernel device driver for the nRF Real Time
|
||||
Counter NRF_RTC1 and provides the standard "system clock driver"
|
||||
|
|
Loading…
Reference in a new issue