2015-12-03 17:02:00 +08:00
|
|
|
# Kconfig - Watchdog configuration options
|
|
|
|
#
|
|
|
|
# Copyright (c) 2015 Intel Corporation
|
2017-08-24 23:35:08 +08:00
|
|
|
# Copyright (c) 2017 Nordic Semiconductor ASA
|
2015-12-03 17:02:00 +08:00
|
|
|
#
|
2017-01-19 09:01:01 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2015-12-03 17:02:00 +08:00
|
|
|
#
|
|
|
|
|
2015-11-22 10:07:43 +08:00
|
|
|
menuconfig WATCHDOG
|
2018-08-14 22:19:20 +08:00
|
|
|
bool "Watchdog Support"
|
2015-11-22 10:07:43 +08:00
|
|
|
help
|
2016-11-29 19:13:49 +08:00
|
|
|
Include support for watchdogs.
|
2015-11-22 10:07:43 +08:00
|
|
|
|
|
|
|
if WATCHDOG
|
2016-05-07 23:54:42 +08:00
|
|
|
|
2018-06-02 03:32:25 +08:00
|
|
|
if !HAS_DTS_WDT
|
|
|
|
|
|
|
|
config WDT_0_NAME
|
|
|
|
string "Watchdog driver instance name"
|
|
|
|
default "WATCHDOG_0"
|
|
|
|
help
|
2018-06-20 23:49:48 +08:00
|
|
|
Set the name used by the watchdog device during registration.
|
2018-06-02 03:32:25 +08:00
|
|
|
|
|
|
|
endif # HAS_DTS_WDT
|
|
|
|
|
2017-08-24 23:35:08 +08:00
|
|
|
config WDT_DISABLE_AT_BOOT
|
2018-08-14 22:19:20 +08:00
|
|
|
bool "Disable at boot"
|
2017-08-24 23:35:08 +08:00
|
|
|
help
|
|
|
|
Disable watchdog at Zephyr system startup.
|
|
|
|
|
2018-08-09 17:56:26 +08:00
|
|
|
module = WDT
|
|
|
|
module-str = watchdog
|
|
|
|
source "subsys/logging/Kconfig.template.log_config"
|
2017-08-24 23:35:08 +08:00
|
|
|
|
|
|
|
config HAS_WDT_MULTISTAGE
|
|
|
|
bool
|
|
|
|
|
|
|
|
config WDT_MULTISTAGE
|
2018-08-14 22:19:20 +08:00
|
|
|
bool "Enable multistage timeouts"
|
2017-08-24 23:35:08 +08:00
|
|
|
depends on HAS_WDT_MULTISTAGE
|
|
|
|
help
|
|
|
|
Enable multistage operation of watchdog timeouts.
|
|
|
|
|
2016-03-16 19:54:03 +08:00
|
|
|
source "drivers/watchdog/Kconfig.stm32"
|
|
|
|
|
2016-11-23 19:21:37 +08:00
|
|
|
source "drivers/watchdog/Kconfig.cmsdk_apb"
|
|
|
|
|
2017-03-07 11:26:58 +08:00
|
|
|
source "drivers/watchdog/Kconfig.sam"
|
|
|
|
|
2017-06-28 07:20:45 +08:00
|
|
|
source "drivers/watchdog/Kconfig.esp32"
|
|
|
|
|
2017-11-15 03:02:55 +08:00
|
|
|
source "drivers/watchdog/Kconfig.sam0"
|
|
|
|
|
2018-05-14 15:08:54 +08:00
|
|
|
source "drivers/watchdog/Kconfig.nrfx"
|
|
|
|
|
2019-05-21 05:13:52 +08:00
|
|
|
source "drivers/watchdog/Kconfig.mcux"
|
2018-04-24 04:07:11 +08:00
|
|
|
|
2019-06-04 21:35:38 +08:00
|
|
|
source "drivers/watchdog/Kconfig.xec"
|
|
|
|
|
2015-11-22 10:07:43 +08:00
|
|
|
endif
|