Skip to content

Commit

Permalink
task_wdt: Kconfig: Increase TASK_WDT_HW_FALLBACK_DELAY range
Browse files Browse the repository at this point in the history
If a time-intensive task (like coredump storage over logging interface)
is run in the task watchdog callback, the hardware watchdog might
reset the system before the task finishes.

Increasing the delay from 1s to 10s, which should be sufficient for any
use case.

Signed-off-by: Martin Jäger <[email protected]>
  • Loading branch information
martinjaeger authored and kartben committed Jan 7, 2025
1 parent 0c3c635 commit 0a838bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion subsys/task_wdt/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ config TASK_WDT_HW_FALLBACK_DELAY
int "Additional delay for hardware watchdog (ms)"
depends on TASK_WDT_HW_FALLBACK
default 20
range 1 1000
range 1 10000
help
The timeout of the hardware watchdog fallback will be increased by
this value to provide sufficient time for corrective actions in the
Expand Down

0 comments on commit 0a838bc

Please sign in to comment.