diff options
Diffstat (limited to 'nuttx/arch/arm/src/sama5/Kconfig')
-rw-r--r-- | nuttx/arch/arm/src/sama5/Kconfig | 37 |
1 files changed, 36 insertions, 1 deletions
diff --git a/nuttx/arch/arm/src/sama5/Kconfig b/nuttx/arch/arm/src/sama5/Kconfig index 19b33764b..8094c72b1 100644 --- a/nuttx/arch/arm/src/sama5/Kconfig +++ b/nuttx/arch/arm/src/sama5/Kconfig @@ -100,7 +100,7 @@ config SAMA5_PIT config SAMA5_WDT bool "Watchdog timer Interrupt (WDT)" default n - select WDT + select WATCHDOG config SAMA5_RTC bool "Real time clock calendar (RTC)" @@ -2019,6 +2019,41 @@ endif # SAMA5_TSD endmenu # Touchscreen Configuration endif # SAMA5_ADC +if SAMA5_WDT + +menu "Watchdog Configuration" + +config SAMA5_WDT_INTERRUPT + bool "Interrupt on timeout" + default n + ---help--- + The normal behavior is to reset everything when a watchdog timeout + occurs. An alternative behavior is to simply interrupt when the + timeout occurs. This setting enables that alternative behavior. + +config SAMA5_WDT_DEBUGHALT + bool "Halt on DEBUG" + default y if DEBUG + default n if !DEBUG + ---help--- + Halt the watchdog timer in the debug state + +config SAMA5_WDT_IDLEHALT + bool "Halt in IDLE" + default y + ---help--- + Halt the watchdog timer in the IDLE state + +config SAMA5_WDT_REGDEBUG + bool "Register level debug" + default n + depends on DEBUG + ---help--- + Enable low-level register debug output + +endmenu # Watchdog configuration +endif # SAMA5_WDT + menu "External Memory Configuration" config SAMA5_DDRCS |