mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-08 12:22:37 +00:00
Replace the existing Apache 2.0 boilerplate header with an SPDX tag throughout the zephyr code tree. This patch was generated via a script run over the master branch. Also updated doc/porting/application.rst that had a dependency on line numbers in a literal include. Manually updated subsys/logging/sys_log.c that had a malformed header in the original file. Also cleanup several cases that already had a SPDX tag and we either got a duplicate or missed updating. Jira: ZEP-1457 Change-Id: I6131a1d4ee0e58f5b938300c2d2fc77d2e69572c Signed-off-by: David B. Kinder <david.b.kinder@intel.com> Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
55 lines
1.5 KiB
Plaintext
55 lines
1.5 KiB
Plaintext
# Kconfig - STM32 IWDG configuration
|
|
#
|
|
# Copyright (c) 2016 Open-RnD Sp. z o.o.
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
if SOC_FAMILY_STM32
|
|
|
|
config IWDG_STM32
|
|
bool "Independent Watchdog (IWDG) Driver for STM32 family of MCUs"
|
|
help
|
|
Enable IWDG driver for STM32 line of MCUs
|
|
|
|
config IWDG_STM32_PRESCALER
|
|
int "Prescaler divider for clock feeding the IWDG"
|
|
depends on IWDG_STM32
|
|
default 4
|
|
range 4 256
|
|
help
|
|
Set the prescaler divider for the clock feeding the Independent
|
|
Watchdog. Higher values indicate that the watchdog will need to
|
|
be reloaded more frequently. Allowed values: 4, 8, 16, 32, 64,
|
|
128, 256. This setting combined with reload counter defines the
|
|
watchdog countdown time.
|
|
|
|
config IWDG_STM32_RELOAD_COUNTER
|
|
int "Value for IWDG counter"
|
|
depends on IWDG_STM32
|
|
default 2048
|
|
range 0 4095
|
|
help
|
|
Configure the value to be loaded into the watchdog's counter each
|
|
time a reload operation is performed. This value combined with
|
|
prescaler setting defines the watchdog countdown time.
|
|
|
|
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_DEVICE_NAME
|
|
string "Device name for Independent Watchdog (IWDG)"
|
|
depends on IWDG_STM32
|
|
default "IWDG"
|
|
help
|
|
Set the name used by IWDG device during registration.
|
|
|
|
endif # SOC_FAMILY_STM32
|