zephyr/drivers/watchdog/Kconfig.esp32
Kumar Gala 134eea2ff4 watchdog: Refactor how we set HAS_DTS_WDT in Kconfig
Now that all watchdog drivers support DTS we can move setting of
HAS_DTS_WDT to the global watchdog symbol instead of per driver.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2019-11-06 13:51:20 -06:00

28 lines
673 B
Plaintext

# ESP32 WDT configuration
# Copyright (C) 2017 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
menuconfig WDT_ESP32
bool "ESP32 Watchdog (WDT) Driver"
depends on SOC_ESP32
default y
help
Enable WDT driver for ESP32.
config WDT0_ESP32_IRQ
int "IRQ line for watchdog interrupt"
depends on WDT_ESP32
default 24
help
Set the IRQ line used by the WDT device. Very few lines can be
chosen here, as it must be a level 4 interrupt.
config WDT1_ESP32_IRQ
int "IRQ line for watchdog interrupt"
depends on WDT_ESP32
default 25
help
Set the IRQ line used by the WDT device. Very few lines can be
chosen here, as it must be a level 4 interrupt.