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

CONFIG_COUNTER_RTC_STM32_SAVE_VALUE_BETWEEN_RESETS

Save rtc time value between resets

Type: bool

Help

Do not reset the rtc time and date after each reset.

Direct dependencies

!COUNTER_RTC_STM32_BACKUP_DOMAIN_RESET && COUNTER_RTC_STM32 && COUNTER

(Includes any dependencies from ifs and menus.)

Default

  • y

Kconfig definition

At drivers/counter/Kconfig.stm32_rtc:84

Included via Kconfig:8Kconfig.zephyr:42drivers/Kconfig:66drivers/counter/Kconfig:31

Menu path: (Top) → Device Drivers → Counter Drivers → STM32 Counter RTC driver

config COUNTER_RTC_STM32_SAVE_VALUE_BETWEEN_RESETS
    bool "Save rtc time value between resets"
    default y
    depends on !COUNTER_RTC_STM32_BACKUP_DOMAIN_RESET && COUNTER_RTC_STM32 && COUNTER
    help
      Do not reset the rtc time and date after each reset.

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