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
|
|
|
|
bool
|
|
|
|
prompt "Watchdog Support"
|
|
|
|
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
|
|
|
|
2017-08-24 23:35:08 +08:00
|
|
|
config WDT_DISABLE_AT_BOOT
|
|
|
|
bool
|
|
|
|
prompt "Disable at boot"
|
|
|
|
help
|
|
|
|
Disable watchdog at Zephyr system startup.
|
|
|
|
|
|
|
|
config SYS_LOG_WDT_LEVEL
|
|
|
|
int
|
|
|
|
prompt "Watchdog Driver Log level"
|
|
|
|
depends on SYS_LOG
|
|
|
|
default 0
|
|
|
|
range 0 4
|
|
|
|
help
|
|
|
|
Sets log level for Watchdog drivers.
|
|
|
|
Levels are:
|
|
|
|
0 OFF, do not write
|
|
|
|
1 ERROR, only write SYS_LOG_ERR
|
|
|
|
2 WARNING, write SYS_LOG_WRN in addition to previous level
|
|
|
|
3 INFO, write SYS_LOG_INF in addition to previous levels
|
|
|
|
4 DEBUG, write SYS_LOG_DBG in addition to previous levels
|
|
|
|
|
|
|
|
config HAS_WDT_MULTISTAGE
|
|
|
|
bool
|
|
|
|
|
|
|
|
config WDT_MULTISTAGE
|
|
|
|
bool
|
|
|
|
prompt "Enable multistage timeouts"
|
|
|
|
depends on HAS_WDT_MULTISTAGE
|
|
|
|
help
|
|
|
|
Enable multistage operation of watchdog timeouts.
|
|
|
|
|
2016-11-29 19:13:49 +08:00
|
|
|
source "drivers/watchdog/Kconfig.qmsi"
|
2016-06-04 10:33:39 +08:00
|
|
|
|
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"
|
|
|
|
|
2018-04-24 04:07:11 +08:00
|
|
|
source "drivers/watchdog/Kconfig.mcux_wdog"
|
|
|
|
|
2015-11-22 10:07:43 +08:00
|
|
|
endif
|