2019-11-01 13:45:29 +01:00
|
|
|
# Watchdog configuration options
|
|
|
|
|
2015-12-03 10:02:00 +01:00
|
|
|
# Copyright (c) 2015 Intel Corporation
|
2017-08-24 17:35:08 +02:00
|
|
|
# Copyright (c) 2017 Nordic Semiconductor ASA
|
2017-01-18 17:01:01 -08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2015-12-03 10:02:00 +01:00
|
|
|
|
2015-11-21 21:07:43 -05:00
|
|
|
menuconfig WATCHDOG
|
2018-08-14 16:19:20 +02:00
|
|
|
bool "Watchdog Support"
|
2019-11-04 12:33:11 -06:00
|
|
|
select HAS_DTS_WDT
|
2015-11-21 21:07:43 -05:00
|
|
|
help
|
2016-11-29 11:13:49 +00:00
|
|
|
Include support for watchdogs.
|
2015-11-21 21:07:43 -05:00
|
|
|
|
|
|
|
if WATCHDOG
|
2016-05-07 11:54:42 -04:00
|
|
|
|
2017-08-24 17:35:08 +02:00
|
|
|
config WDT_DISABLE_AT_BOOT
|
2018-08-14 16:19:20 +02:00
|
|
|
bool "Disable at boot"
|
2017-08-24 17:35:08 +02:00
|
|
|
help
|
2020-02-16 00:20:44 +01:00
|
|
|
Disable watchdog at Zephyr system startup.
|
2017-08-24 17:35:08 +02:00
|
|
|
|
2018-08-09 11:56:26 +02:00
|
|
|
module = WDT
|
|
|
|
module-str = watchdog
|
|
|
|
source "subsys/logging/Kconfig.template.log_config"
|
2017-08-24 17:35:08 +02:00
|
|
|
|
|
|
|
config HAS_WDT_MULTISTAGE
|
|
|
|
bool
|
|
|
|
|
|
|
|
config WDT_MULTISTAGE
|
2018-08-14 16:19:20 +02:00
|
|
|
bool "Enable multistage timeouts"
|
2017-08-24 17:35:08 +02:00
|
|
|
depends on HAS_WDT_MULTISTAGE
|
|
|
|
help
|
|
|
|
Enable multistage operation of watchdog timeouts.
|
|
|
|
|
2021-10-22 13:12:43 +02:00
|
|
|
config WDT_COUNTER
|
|
|
|
bool "Counter based watchdog"
|
|
|
|
def_bool $(dt_nodelabel_enabled,wdt_counter)
|
|
|
|
select COUNTER
|
|
|
|
help
|
|
|
|
Watchdog emulated with counter device. If counter device supports using
|
|
|
|
zero latency interrupts (ZLI) then expiration callback can be called from
|
|
|
|
that context. This watchdog can be used along hardware watchdog to
|
|
|
|
overcome hardware watchdog limitations, e.g. Nordic devices reset
|
|
|
|
unconditionally at fixed time after hitting watchdog interrupt, leaving
|
|
|
|
no time to print debug information. Watchdog has limitations since it
|
|
|
|
cannot interrupt same or higher priorities so it cannot fully replace
|
|
|
|
hardware based watchdog.
|
|
|
|
|
|
|
|
if WDT_COUNTER
|
|
|
|
|
|
|
|
config WDT_COUNTER_CH_COUNT
|
|
|
|
int "Maximum number of supported channel"
|
|
|
|
default 4
|
|
|
|
range 1 255
|
|
|
|
help
|
|
|
|
Note that actual channel count will be limited to number of channels
|
|
|
|
supported by the counter device which is used for watchdog.
|
|
|
|
|
|
|
|
endif # WDT_COUNTER
|
|
|
|
|
2016-03-16 12:54:03 +01:00
|
|
|
source "drivers/watchdog/Kconfig.stm32"
|
|
|
|
|
2016-11-23 11:21:37 +00:00
|
|
|
source "drivers/watchdog/Kconfig.cmsdk_apb"
|
|
|
|
|
2017-03-07 08:56:58 +05:30
|
|
|
source "drivers/watchdog/Kconfig.sam"
|
|
|
|
|
2017-06-27 16:20:45 -07:00
|
|
|
source "drivers/watchdog/Kconfig.esp32"
|
|
|
|
|
2017-11-14 20:02:55 +01:00
|
|
|
source "drivers/watchdog/Kconfig.sam0"
|
|
|
|
|
2018-05-14 09:08:54 +02:00
|
|
|
source "drivers/watchdog/Kconfig.nrfx"
|
|
|
|
|
2019-05-20 23:13:52 +02:00
|
|
|
source "drivers/watchdog/Kconfig.mcux"
|
2018-04-23 15:07:11 -05:00
|
|
|
|
2020-07-27 12:29:58 +08:00
|
|
|
source "drivers/watchdog/Kconfig.mcux_imx"
|
|
|
|
|
2019-06-04 15:35:38 +02:00
|
|
|
source "drivers/watchdog/Kconfig.xec"
|
|
|
|
|
2019-11-04 16:08:24 +01:00
|
|
|
source "drivers/watchdog/Kconfig.gecko"
|
|
|
|
|
2020-11-28 23:02:03 +09:00
|
|
|
source "drivers/watchdog/Kconfig.sifive"
|
|
|
|
|
2020-08-17 11:15:35 +08:00
|
|
|
source "drivers/watchdog/Kconfig.npcx"
|
|
|
|
|
2021-02-17 17:07:08 +02:00
|
|
|
source "drivers/watchdog/Kconfig.cc32xx"
|
|
|
|
|
2021-01-20 15:29:19 +08:00
|
|
|
source "drivers/watchdog/Kconfig.it8xxx2"
|
2015-11-21 21:07:43 -05:00
|
|
|
endif
|