zephyr/drivers/watchdog/Kconfig.esp32
Leandro Pereira 158ea970ea drivers: watchdog: Use common name configuration for all drivers
Each driver seemed to use their own Kconfig option to set the name for
their drivers.  This makes writing example/test code difficult as each
one of them will have to special case for each of the supported
platforms.

Use a consistent CONFIG_WDT_0_NAME option in all drivers.

Fixes #8094.

Signed-off-by: Leandro Pereira <leandro.pereira@intel.com>
2018-06-01 15:31:56 -05:00

22 lines
467 B
Plaintext

# Kconfig - 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 WDT_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.