Skip to content
Commit 09277d44 authored by Patryk Duda's avatar Patryk Duda Committed by Carles Cufí
Browse files

drivers: watchdog: Make SOC reset as an option in counter watchdog



When using watchdog which doesn't support callbacks (e.g. STM32 IWDG)
it's very useful to have counter based watchdog with shorter timeout.
This way we can gather useful information before IWDG resets SOC.

In above case it's usually not desired to reset SOC when counter
watchdog is triggerd, because we can lose information about reset cause.
For example, STM32 can determine if the reset was caused by watchdog.

Another use case for counter watchdog without SOC reset is to detect
slow code paths.

Signed-off-by: default avatarPatryk Duda <pdk@semihalf.com>
parent c13d23a4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment