zephyr/drivers/watchdog/Kconfig.rpi_pico
Jamie McCrae a20eb66742 drivers: watchdog: Add Raspberry Pi Pico watchdog driver
This adds basic support for the watchdog timer on the RP2040 MCU and
Raspberry Pi Pico development board

Signed-off-by: Jamie McCrae <spam@helper3000.net>
2022-07-06 10:52:29 +02:00

21 lines
688 B
Plaintext

# Copyright (c) 2022, Jamie McCrae
# SPDX-License-Identifier: Apache-2.0
DT_COMPAT_RASPBERRYPI_PICO_WATCHDOG := raspberrypi,pico-watchdog
config WDT_RPI_PICO
bool "Raspberry Pi Pico Watchdog driver"
default $(dt_compat_enabled,$(DT_COMPAT_RASPBERRYPI_PICO_WATCHDOG))
depends on SOC_FAMILY_RPI_PICO
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.