Skip to content

Commit 7480fbf

Browse files
committed
drivers: counter: cc23x0: Add dependency for RTC
In case RTC is used for system timer, it should not be used as counter device. Dependency restricts counter driver to work only with SYSTIM. Signed-off-by: Stoyan Bogdanov <sbogdanov@baylibre.com>
1 parent d320c79 commit 7480fbf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/counter/Kconfig.cc23x0_rtc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@ config COUNTER_CC23X0_RTC
55
bool "CC23x0 Counter driver based on the RTC Timer"
66
default y
77
depends on DT_HAS_TI_CC23X0_RTC_ENABLED
8+
depends on CC23X0_SYSTIM_TIMER
89
help
910
Enable counter driver based on RTC timer for cc23x0

0 commit comments

Comments
 (0)