drivers: counter: stm32_rtc: Make dependent of !RTC
New RTC API seems to conflict with old RTC implementations based on COUNTER This scheme follows Zephyrproject-rtos issue 56599 while keeping backward compatibility. Signed-off-by: Kim Bøndergaard <kim.bondergaard@prevas.dk>
This commit is contained in:
parent
9fa4543994
commit
6775b263f3
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
|||
|
||||
menuconfig COUNTER_RTC_STM32
|
||||
bool "STM32 Counter RTC driver"
|
||||
default y
|
||||
default y if !RTC
|
||||
depends on DT_HAS_ST_STM32_RTC_ENABLED
|
||||
select USE_STM32_LL_RTC
|
||||
select USE_STM32_LL_PWR
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue