drivers/rtc: Enable RTC driver for STM32F3 series

Enable RTC driver for STM32F3 series.

Signed-off-by: Yannis Damigos <giannis.damigos@gmail.com>
This commit is contained in:
Yannis Damigos 2018-08-17 20:06:22 +03:00 committed by Kumar Gala
commit 0c1725116a
4 changed files with 13 additions and 2 deletions

View file

@ -15,7 +15,7 @@ config RTC_STM32
select USE_STM32_LL_EXTI
select NEWLIB_LIBC
help
Build RTC driver for STM32 SoCs. Tested on STM32 F4, L4 series.
Build RTC driver for STM32 SoCs. Tested on STM32 F3, F4, L4 series.
choice RTC_STM32_CLOCK_SRC
bool "RTC clock source"

View file

@ -19,7 +19,7 @@
#if defined(CONFIG_SOC_SERIES_STM32L4X)
#define EXTI_LINE LL_EXTI_LINE_18
#elif defined(CONFIG_SOC_SERIES_STM32F4X)
#elif defined(CONFIG_SOC_SERIES_STM32F4X) || defined(CONFIG_SOC_SERIES_STM32F3X)
#define EXTI_LINE LL_EXTI_LINE_17
#endif