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:
Kiril Zyapkov 2018-03-21 15:29:59 +01:00 committed by Anas Nashif
commit 0d47ae4fca
6 changed files with 382 additions and 0 deletions

View file

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