You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by pk...@apache.org on 2022/09/20 20:04:47 UTC
[incubator-nuttx] 05/05: watchdog: Add help description for each keep alive method
This is an automated email from the ASF dual-hosted git repository.
pkarashchenko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit ba20cadd6529a46741541a15c847a04d688e98b9
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Mon Sep 19 05:28:49 2022 +0800
watchdog: Add help description for each keep alive method
Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
---
drivers/timers/Kconfig | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/drivers/timers/Kconfig b/drivers/timers/Kconfig
index 8fa06cb4b7..ab69d8d3a8 100644
--- a/drivers/timers/Kconfig
+++ b/drivers/timers/Kconfig
@@ -370,25 +370,37 @@ choice
config WATCHDOG_AUTOMONITOR_BY_CAPTURE
bool "Capture callback"
+ ---help---
+ Feed watchdog through watchdog_ops_s::capture callback periodically
config WATCHDOG_AUTOMONITOR_BY_ONESHOT
bool "Oneshot callback"
depends on ONESHOT
+ ---help---
+ Feed watchdog through oneshot_lowerhalf_s functions periodically
config WATCHDOG_AUTOMONITOR_BY_TIMER
bool "Timer callback"
depends on TIMER
+ ---help---
+ Feed watchdog through timer_lowerhalf_s functions periodically
config WATCHDOG_AUTOMONITOR_BY_WDOG
bool "Wdog callback"
+ ---help---
+ Feed watchdog through wdog functions periodically
config WATCHDOG_AUTOMONITOR_BY_WORKER
bool "Worker callback"
depends on SCHED_WORKQUEUE
+ ---help---
+ Feed watchdog through wqueue functions periodically
config WATCHDOG_AUTOMONITOR_BY_IDLE
bool "Idle callback"
depends on PM
+ ---help---
+ Feed watchdog before idle through pm_callback_s::notify callback
endchoice