From 00a9cb81c00b955dcee8de4cdf236dc823da4772 Mon Sep 17 00:00:00 2001 From: Erwan Gouriou Date: Mon, 24 Jul 2023 09:23:51 +0200 Subject: [PATCH] drivers: rtc: stm32: Exclude STM32F1 from current RTC driver STM32F1 series RTC is not compatible with other STM32F1 series, and it uses a different LL API. Current implementation of the driver doesn't take this into account, so we need to explicitly exclude STM32F1 series support until some changes are made. Signed-off-by: Erwan Gouriou --- drivers/rtc/Kconfig.stm32 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/rtc/Kconfig.stm32 b/drivers/rtc/Kconfig.stm32 index 510d259a206..1cdbe99ca0b 100644 --- a/drivers/rtc/Kconfig.stm32 +++ b/drivers/rtc/Kconfig.stm32 @@ -4,9 +4,9 @@ config RTC_STM32 bool "STM32 RTC driver" default y if !COUNTER - depends on DT_HAS_ST_STM32_RTC_ENABLED + depends on DT_HAS_ST_STM32_RTC_ENABLED && !SOC_SERIES_STM32F1X select USE_STM32_LL_RTC select USE_STM32_LL_PWR select USE_STM32_LL_RCC help - Build RTC driver for STM32 SoCs. + Build RTC driver for STM32 SoCs, excluding STM32F1 series.