soc: arm: st_stm32: stm32l0: Add RTC support

This commits adds support for the on chip RTC of the stm32l0 series

Signed-off-by: Serafin Leschke <serafin.leschke@bytesatwork.ch>
This commit is contained in:
Serafin Leschke 2020-02-27 10:25:02 +01:00 committed by Maureen Helm
commit 2e5313dc56
4 changed files with 19 additions and 0 deletions

View file

@ -48,6 +48,12 @@
#include <stm32l0xx_ll_i2c.h>
#endif
#if defined(CONFIG_COUNTER_RTC_STM32)
#include <stm32l0xx_ll_rtc.h>
#include <stm32l0xx_ll_exti.h>
#include <stm32l0xx_ll_pwr.h>
#endif
#ifdef CONFIG_SPI_STM32
#include <stm32l0xx_ll_spi.h>
#endif