2016-11-23 19:21:37 +08:00
|
|
|
# Kconfig.cmsdk_ahb - ARM CMSDK (Cortex-M System Design Kit) AHB WDOG cfg
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Copyright (c) 2016 Linaro Limited
|
|
|
|
#
|
2017-01-19 09:01:01 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2016-11-23 19:21:37 +08:00
|
|
|
#
|
|
|
|
|
|
|
|
if SOC_FAMILY_ARM
|
|
|
|
|
|
|
|
config WDOG_CMSDK_APB
|
|
|
|
bool "CMSDK APB Watchdog Driver for ARM family of MCUs"
|
|
|
|
depends on RUNTIME_NMI
|
|
|
|
help
|
|
|
|
Enable CMSDK APB Watchdog (WDOG_CMSDK_APB) Driver for ARM
|
|
|
|
family of MCUs.
|
|
|
|
|
|
|
|
config WDOG_CMSDK_APB_START_AT_BOOT
|
|
|
|
bool "Start Watchdog during boot"
|
|
|
|
depends on WDOG_CMSDK_APB
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Enable this setting to allow WDOG to be automatically started
|
|
|
|
during device initialization. Note that once WDOG is started
|
|
|
|
it must be reloaded before the counter reaches 0, otherwise
|
|
|
|
the MCU will be reset.
|
|
|
|
|
|
|
|
config WDOG_CMSDK_APB_DEVICE_NAME
|
|
|
|
string "Device name for CMSDK APB Watchdog"
|
|
|
|
depends on WDOG_CMSDK_APB
|
|
|
|
default "WATCHDOG_0"
|
|
|
|
help
|
|
|
|
Set the name used by WDOG device during registration.
|
|
|
|
|
|
|
|
endif # SOC_FAMILY_ARM
|