Skip to content

Commit a02e1c7

Browse files
gautierg-stkartben
authored andcommitted
drivers: counter: stm32: rtc: remove init struct
Remove the calls to LL_RTC_Init, LL_RTC_DeInit and LL_RTC_ALMA_Init in the RTC counter driver. This avoids calling functions from stm32xxxx_ll_rtc.c. They are replaced by a set of simpler functions from the header file. Signed-off-by: Guillaume Gautier <[email protected]>
1 parent bb2eb4e commit a02e1c7

File tree

2 files changed

+239
-84
lines changed

2 files changed

+239
-84
lines changed

drivers/counter/Kconfig.stm32_rtc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ menuconfig COUNTER_RTC_STM32
88
default y if !RTC
99
depends on DT_HAS_ST_STM32_RTC_ENABLED
1010
depends on !SOC_SERIES_STM32WB0X
11-
select USE_STM32_LL_RTC
1211
help
1312
Build RTC driver for STM32 SoCs.
1413
Tested on STM32 C0, F0, F2, F3, F4, F7, G0, G4, H7, L1, L4, L5, U5 series

0 commit comments

Comments
 (0)