drivers: counter: rtc for stm32f2 soc series
This patch set the EXTI line 17 as the RTC alarm pin on the stm32f2x serie from STMicroelectronics. Signed-off-by: Francois Ramu <francois.ramu@st.com>
This commit is contained in:
parent
57db336b98
commit
732df68fff
2 changed files with 3 additions and 2 deletions
|
@ -12,7 +12,7 @@ menuconfig COUNTER_RTC_STM32
|
|||
select USE_STM32_LL_EXTI
|
||||
select REQUIRES_FULL_LIBC
|
||||
help
|
||||
Build RTC driver for STM32 SoCs. Tested on STM32 F3, F4, L4, F7, G4, H7 series
|
||||
Build RTC driver for STM32 SoCs. Tested on STM32 F2, F3, F4, L4, F7, G4, H7 series
|
||||
|
||||
choice COUNTER_RTC_STM32_CLOCK_SRC
|
||||
bool "RTC clock source"
|
||||
|
|
|
@ -29,7 +29,8 @@ 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_STM32F3X) \
|
||||
|| defined(CONFIG_SOC_SERIES_STM32F2X) \
|
||||
|| defined(CONFIG_SOC_SERIES_STM32F3X) \
|
||||
|| defined(CONFIG_SOC_SERIES_STM32F7X) \
|
||||
|| defined(CONFIG_SOC_SERIES_STM32WBX) \
|
||||
|| defined(CONFIG_SOC_SERIES_STM32G4X) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue