2019-11-01 20:45:29 +08:00
|
|
|
# Watchdog configuration options
|
|
|
|
|
2015-12-03 17:02:00 +08:00
|
|
|
# Copyright (c) 2015 Intel Corporation
|
2017-08-24 23:35:08 +08:00
|
|
|
# Copyright (c) 2017 Nordic Semiconductor ASA
|
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
|
|
|
|
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
|
2020-02-16 07:20:44 +08:00
|
|
|
Disable watchdog at Zephyr system startup.
|
2017-08-24 23:35:08 +08:00
|
|
|
|
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
|
2022-03-09 19:05:12 +08:00
|
|
|
bool "Multistage timeouts"
|
2017-08-24 23:35:08 +08:00
|
|
|
depends on HAS_WDT_MULTISTAGE
|
|
|
|
help
|
|
|
|
Enable multistage operation of watchdog timeouts.
|
|
|
|
|
2021-10-22 19:12:43 +08:00
|
|
|
config WDT_COUNTER
|
|
|
|
bool "Counter based watchdog"
|
2022-07-22 05:24:59 +08:00
|
|
|
default y
|
|
|
|
depends on DT_HAS_ZEPHYR_COUNTER_WATCHDOG_ENABLED
|
2021-10-22 19:12:43 +08:00
|
|
|
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 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
|
|
|
|
2020-07-27 12:29:58 +08:00
|
|
|
source "drivers/watchdog/Kconfig.mcux_imx"
|
|
|
|
|
2019-06-04 21:35:38 +08:00
|
|
|
source "drivers/watchdog/Kconfig.xec"
|
|
|
|
|
2019-11-04 23:08:24 +08:00
|
|
|
source "drivers/watchdog/Kconfig.gecko"
|
|
|
|
|
2020-11-28 22:02:03 +08:00
|
|
|
source "drivers/watchdog/Kconfig.sifive"
|
|
|
|
|
2020-08-17 11:15:35 +08:00
|
|
|
source "drivers/watchdog/Kconfig.npcx"
|
|
|
|
|
2021-02-17 23:07:08 +08:00
|
|
|
source "drivers/watchdog/Kconfig.cc32xx"
|
|
|
|
|
2021-01-20 15:29:19 +08:00
|
|
|
source "drivers/watchdog/Kconfig.it8xxx2"
|
2022-03-03 06:47:25 +08:00
|
|
|
|
|
|
|
source "drivers/watchdog/Kconfig.rpi_pico"
|
|
|
|
|
2015-11-22 10:07:43 +08:00
|
|
|
endif
|