drivers: counter: rtc for stm32f0 doc series

This patch set the EXTI line 17 as the RTC
on the stm32f0x from STMicroelectronics.

Signed-off-by: Francois Ramu <francois.ramu@st.com>
This commit is contained in:
Francois Ramu 2020-07-24 12:31:46 +02:00 committed by Ioannis Glaropoulos
commit c098aabcaa
2 changed files with 3 additions and 1 deletions

View file

@ -12,7 +12,8 @@ menuconfig COUNTER_RTC_STM32
select USE_STM32_LL_EXTI
select REQUIRES_FULL_LIBC
help
Build RTC driver for STM32 SoCs. Tested on STM32 F2, F3, F4, L4, F7, G4, H7 series
Build RTC driver for STM32 SoCs.
Tested on STM32 F0, F2, F3, F4, L4, F7, G4, H7 series
choice COUNTER_RTC_STM32_CLOCK_SRC
bool "RTC clock source"

View file

@ -31,6 +31,7 @@ LOG_MODULE_REGISTER(counter_rtc_stm32, CONFIG_COUNTER_LOG_LEVEL);
#if defined(CONFIG_SOC_SERIES_STM32L4X)
#define RTC_EXTI_LINE LL_EXTI_LINE_18
#elif defined(CONFIG_SOC_SERIES_STM32F4X) \
|| defined(CONFIG_SOC_SERIES_STM32F0X) \
|| defined(CONFIG_SOC_SERIES_STM32F2X) \
|| defined(CONFIG_SOC_SERIES_STM32F3X) \
|| defined(CONFIG_SOC_SERIES_STM32F7X) \