1# Copyright 2023 Prevas A/S
2# SPDX-License-Identifier: Apache-2.0
3
4config RTC_STM32
5	bool "STM32 RTC driver"
6	default y if !COUNTER
7	depends on DT_HAS_ST_STM32_RTC_ENABLED && !SOC_SERIES_STM32F1X
8	select USE_STM32_LL_RTC
9	select USE_STM32_LL_PWR
10	select USE_STM32_LL_RCC
11	help
12	  Build RTC driver for STM32 SoCs, excluding STM32F1 series.
13