CONFIG_COUNTER_RTC_STM32

STM32 Counter RTC driver

Type: bool

Help

Build RTC driver for STM32 SoCs. Tested on STM32 F0, F2, F3, F4, L1, L4, F7, G0, G4, H7 series

Direct dependencies

(COUNTER && SOC_FAMILY_STM32) || (SOC_FAMILY_STM32 && COUNTER)

(Includes any dependencies from ifs and menus.)

Default

  • y

Kconfig definitions

At <Zephyr>/soc/arm/st_stm32/common/Kconfig.defconfig.series:65

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:19<BuildDir>/Kconfig/Kconfig.soc.defconfig:1<Zephyr>/soc/arm/st_stm32/Kconfig.defconfig:3

Menu path: (Top)

config COUNTER_RTC_STM32
    bool
    default y
    depends on COUNTER && SOC_FAMILY_STM32

At <Zephyr>/drivers/counter/Kconfig.stm32_rtc:6

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:32<Zephyr>/drivers/Kconfig:64<Zephyr>/drivers/counter/Kconfig:29

Menu path: (Top) → Device Drivers → Counter Drivers

menuconfig COUNTER_RTC_STM32
    bool "STM32 Counter RTC driver"
    select USE_STM32_LL_RTC
    select USE_STM32_LL_PWR
    select USE_STM32_LL_RCC
    select USE_STM32_LL_EXTI
    depends on SOC_FAMILY_STM32 && COUNTER
    help
      Build RTC driver for STM32 SoCs.
      Tested on STM32 F0, F2, F3, F4, L1, L4, F7, G0, G4, H7 series

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)