mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-10 11:25:21 +00:00
This commit consolidates the meaning of WDT_DISABLE_AT_BOOT option as "disabling watchdog at Zephyr system startup for the SoCs that enable the watchdog by default after reset", and makes this default to y in order to prevent unintentional processor reset by the watchdog when not explicitly configured and fed by the application. Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
55 lines
1.2 KiB
Plaintext
55 lines
1.2 KiB
Plaintext
# 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"
|
|
default y
|
|
help
|
|
Disable watchdog at Zephyr system startup for the SoCs that enable
|
|
the watchdog by default after reset.
|
|
|
|
Note that disabling this configuration option does not enable the
|
|
watchdog for the SoCs that boot with the watchdog disabled.
|
|
|
|
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"
|
|
|
|
endif
|