e609ad0c43
This reverts commit 382e6fbccf
.
Disabling watchdog at boot breaks watchdog API contract. Production
firmware should never ship with the option enabled. Unfortunately, this
is dangerosly easy to overlook. If left enabled, in the best case, it
will degrade functionality of the subsystem. In the worst case it
will leave watchdog permanently disbled.
Signed-off-by: Piotr Mienkowski <piotr.mienkowski@gmail.com>
51 lines
1,022 B
Text
51 lines
1,022 B
Text
# Watchdog configuration options
|
|
|
|
# Copyright (c) 2015 Intel Corporation
|
|
# Copyright (c) 2017 Nordic Semiconductor ASA
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
menuconfig WATCHDOG
|
|
bool "Watchdog Support"
|
|
select HAS_DTS_WDT
|
|
help
|
|
Include support for watchdogs.
|
|
|
|
if WATCHDOG
|
|
|
|
config WDT_DISABLE_AT_BOOT
|
|
bool "Disable at boot"
|
|
help
|
|
Disable watchdog at Zephyr system startup.
|
|
|
|
module = WDT
|
|
module-str = watchdog
|
|
source "subsys/logging/Kconfig.template.log_config"
|
|
|
|
config HAS_WDT_MULTISTAGE
|
|
bool
|
|
|
|
config WDT_MULTISTAGE
|
|
bool "Enable multistage timeouts"
|
|
depends on HAS_WDT_MULTISTAGE
|
|
help
|
|
Enable multistage operation of watchdog timeouts.
|
|
|
|
source "drivers/watchdog/Kconfig.stm32"
|
|
|
|
source "drivers/watchdog/Kconfig.cmsdk_apb"
|
|
|
|
source "drivers/watchdog/Kconfig.sam"
|
|
|
|
source "drivers/watchdog/Kconfig.esp32"
|
|
|
|
source "drivers/watchdog/Kconfig.sam0"
|
|
|
|
source "drivers/watchdog/Kconfig.nrfx"
|
|
|
|
source "drivers/watchdog/Kconfig.mcux"
|
|
|
|
source "drivers/watchdog/Kconfig.xec"
|
|
|
|
source "drivers/watchdog/Kconfig.gecko"
|
|
|
|
endif
|