2019-11-01 20:45:29 +08:00
|
|
|
# ESP32 WDT configuration
|
|
|
|
|
2017-06-28 07:20:45 +08:00
|
|
|
# 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.
|
|
|
|
|
2019-11-01 23:07:06 +08:00
|
|
|
config WDT0_ESP32_IRQ
|
2017-06-28 07:20:45 +08:00
|
|
|
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.
|
2019-11-01 23:07:06 +08:00
|
|
|
|
|
|
|
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.
|