drivers: rtc: add support for STM32 RTC
Add support for the STM32 Real-Time-Clock leveraging the LL APIs Signed-off-by: Johannes Hutter <johannes@proglove.de> Signed-off-by: Kiril Zyapkov <k.zyapkov@allterco.com>
This commit is contained in:
parent
27b9e2ef6f
commit
0d47ae4fca
6 changed files with 382 additions and 0 deletions
|
@ -62,6 +62,12 @@
|
|||
#include <stm32l4xx_ll_rng.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_RTC_STM32
|
||||
#include <stm32l4xx_ll_rtc.h>
|
||||
#include <stm32l4xx_ll_exti.h>
|
||||
#include <stm32l4xx_ll_pwr.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_USB
|
||||
/* Required to remove USB transceiver supply isolation */
|
||||
#include <stm32l4xx_ll_pwr.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue