mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-05 20:01:56 +00:00
STM32 specific behavior "IWDG_STM32_START_AT_BOOT" is enabled by default. As all vendor specific behavior, this is preferred to be disabled by default and activated at application level, so application can have better control of the driver. For instance watchdog test can't run with this setting. Disable by default. Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
34 lines
918 B
Plaintext
34 lines
918 B
Plaintext
# Kconfig - STM32 IWDG configuration
|
|
#
|
|
# Copyright (c) 2016 Open-RnD Sp. z o.o.
|
|
# Copyright (c) 2017 RnDity Sp. z o.o.
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
menuconfig IWDG_STM32
|
|
bool "Independent Watchdog (IWDG) Driver for STM32 family of MCUs"
|
|
depends on SOC_FAMILY_STM32
|
|
select HAS_DTS_WDT
|
|
help
|
|
Enable IWDG driver for STM32 line of MCUs
|
|
|
|
config IWDG_STM32_START_AT_BOOT
|
|
bool "Start IWDG during boot"
|
|
depends on IWDG_STM32
|
|
default n
|
|
help
|
|
Enable this setting to allow IWDG to be automatically started
|
|
during device initialization. Note that once IWDG is started
|
|
it must be reloaded before the counter reaches 0, otherwise
|
|
the MCU will be reset.
|
|
|
|
config IWDG_STM32_TIMEOUT
|
|
int "Value for IWDG timeout in [us]"
|
|
depends on IWDG_STM32
|
|
default 100
|
|
range 100 26214400
|
|
help
|
|
Set timeout value for IWDG in microseconds.
|
|
The min timeout supported is 0.1ms, the max timeout is 26214.4ms.
|