CONFIG_WDT_COUNTER

Counter based watchdog

Type: bool

Help

Watchdog emulated with counter device. If counter device supports using
zero latency interrupts (ZLI) then expiration callback can be called from
that context. This watchdog can be used along hardware watchdog to
overcome hardware  watchdog limitations, e.g. Nordic devices reset
unconditionally at fixed time after hitting watchdog interrupt, leaving
no time to print debug information. Watchdog has limitations since it
cannot interrupt same or higher priorities so it cannot fully replace
hardware based watchdog.

Direct dependencies

WATCHDOG

(Includes any dependencies from ifs and menus.)

Default

  • n

Symbols selected by this symbol

Kconfig definition

At <Zephyr>/drivers/watchdog/Kconfig:33

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:42<Zephyr>/drivers/Kconfig:54

Menu path: (Top) → Device Drivers → Watchdog Support

config WDT_COUNTER
    bool "Counter based watchdog"
    default n
    select COUNTER
    depends on WATCHDOG
    help
      Watchdog emulated with counter device. If counter device supports using
      zero latency interrupts (ZLI) then expiration callback can be called from
      that context. This watchdog can be used along hardware watchdog to
      overcome hardware  watchdog limitations, e.g. Nordic devices reset
      unconditionally at fixed time after hitting watchdog interrupt, leaving
      no time to print debug information. Watchdog has limitations since it
      cannot interrupt same or higher priorities so it cannot fully replace
      hardware based watchdog.

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