2022-03-02 22:47:25 +00:00
|
|
|
# Copyright (c) 2022, Jamie McCrae
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
config WDT_RPI_PICO
|
|
|
|
bool "Raspberry Pi Pico Watchdog driver"
|
2022-07-21 16:24:59 -05:00
|
|
|
default y
|
|
|
|
depends on DT_HAS_RASPBERRYPI_PICO_WATCHDOG_ENABLED
|
2024-05-21 16:57:07 +02:00
|
|
|
select HAS_WDT_DISABLE_AT_BOOT
|
2025-01-02 16:32:11 +10:00
|
|
|
select HAS_WDT_NO_CALLBACKS
|
2022-03-02 22:47:25 +00:00
|
|
|
|
|
|
|
config WDT_RPI_PICO_INITIAL_TIMEOUT
|
|
|
|
int "Default watchdog timeout in us"
|
|
|
|
depends on WDT_RPI_PICO
|
|
|
|
default 8388607
|
|
|
|
range 1 8388607
|
|
|
|
help
|
|
|
|
Sets the default watchdog timeout at start-up, the feed function must
|
|
|
|
be called every interval prior to this time elapsing to prevent a
|
|
|
|
reboot of the module. The default is just over 8 seconds, which is the
|
|
|
|
largest timeout possible.
|