The latest development version of this page may be more current than this released 1.14.0 version.
CONFIG_RTC_STM32

STM32 RTC Driver

Type: bool

Help

Build RTC driver for STM32 SoCs. Tested on STM32 F3, F4, L4, F7 series.

Direct dependencies

(RTC && SOC_FAMILY_STM32) || (SOC_FAMILY_STM32 && RTC)

(Includes any dependencies from if’s and menus.)

Defaults

Kconfig definitions

At soc/arm/st_stm32/common/Kconfig.defconfig.series:79

Included via Kconfig:10Kconfig.zephyr:23soc/arm/st_stm32/Kconfig.defconfig:3

Menu path: (top menu)

config RTC_STM32
    bool
    default "y" if RTC && SOC_FAMILY_STM32
    depends on RTC && SOC_FAMILY_STM32

At drivers/rtc/Kconfig.stm32_rtc:9

Included via Kconfig:10Kconfig.zephyr:35drivers/Kconfig:48drivers/rtc/Kconfig:33

Menu path: (top menu) → Device Drivers → Real-Time Clock

config RTC_STM32
    bool
    prompt "STM32 RTC Driver" if SOC_FAMILY_STM32 && RTC
    select USE_STM32_LL_RTC if SOC_FAMILY_STM32 && RTC
    select USE_STM32_LL_PWR if SOC_FAMILY_STM32 && RTC
    select USE_STM32_LL_RCC if SOC_FAMILY_STM32 && RTC
    select USE_STM32_LL_EXTI if SOC_FAMILY_STM32 && RTC
    select NEWLIB_LIBC if SOC_FAMILY_STM32 && RTC
    depends on SOC_FAMILY_STM32 && RTC
    help
      Build RTC driver for STM32 SoCs. Tested on STM32 F3, F4, L4, F7 series.

(Definitions include propagated dependencies, including from if’s and menus.)