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:
Peter A. Bigot 2019-01-13 09:29:23 -06:00 committed by Anas Nashif
parent 889a55c86a
commit e03c3d8f79
2 changed files with 1 additions and 1 deletions

View file

@ -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

View file

@ -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"