mirror of https://github.com/ARMmbed/mbed-os.git
Nuvoton: Enlarge WDT reset delay to avoid premature WDT reset
Consider the following factors to define WDT reset delay: 1. Cannot be too small. This is to avoid premature WDT reset in pieces of timeout cascading. 2. Cannot be too large. This is to pass Greentea reset_reason/watchdog_reset tests, which have e.g. 50~100 reset delay tolerance.pull/12923/head
parent
918d679b06
commit
d823756cb7
|
@ -43,8 +43,12 @@
|
|||
#define NU_WDT_65536CLK 65536
|
||||
#define NU_WDT_262144CLK 262144
|
||||
|
||||
/* Watchdog reset delay */
|
||||
#define NU_WDT_RESET_DELAY_RSTDSEL WDT_RESET_DELAY_3CLK
|
||||
/* Watchdog reset delay
|
||||
*
|
||||
* 1. Cannot be too small. This is to avoid premature WDT reset in pieces of timeout cascading.
|
||||
* 2. Cannot be too large. This is to pass Greentea reset_reason/watchdog_reset tests, which have e.g. 50~100 reset delay tolerance.
|
||||
*/
|
||||
#define NU_WDT_RESET_DELAY_RSTDSEL WDT_RESET_DELAY_130CLK
|
||||
|
||||
/* Support watchdog timeout values beyond H/W
|
||||
*
|
||||
|
|
|
@ -44,8 +44,12 @@
|
|||
#define NU_WDT_65536CLK 65536
|
||||
#define NU_WDT_262144CLK 262144
|
||||
|
||||
/* Watchdog reset delay */
|
||||
#define NU_WDT_RESET_DELAY_RSTDSEL WDT_RESET_DELAY_3CLK
|
||||
/* Watchdog reset delay
|
||||
*
|
||||
* 1. Cannot be too small. This is to avoid premature WDT reset in pieces of timeout cascading.
|
||||
* 2. Cannot be too large. This is to pass Greentea reset_reason/watchdog_reset tests, which have e.g. 50~100 reset delay tolerance.
|
||||
*/
|
||||
#define NU_WDT_RESET_DELAY_RSTDSEL WDT_RESET_DELAY_130CLK
|
||||
|
||||
/* Support watchdog timeout values beyond H/W
|
||||
*
|
||||
|
|
|
@ -42,8 +42,12 @@
|
|||
#define NU_WDT_65536CLK 65536
|
||||
#define NU_WDT_262144CLK 262144
|
||||
|
||||
/* Watchdog reset delay */
|
||||
#define NU_WDT_RESET_DELAY_RSTDSEL WDT_RESET_DELAY_3CLK
|
||||
/* Watchdog reset delay
|
||||
*
|
||||
* 1. Cannot be too small. This is to avoid premature WDT reset in pieces of timeout cascading.
|
||||
* 2. Cannot be too large. This is to pass Greentea reset_reason/watchdog_reset tests, which have e.g. 50~100 reset delay tolerance.
|
||||
*/
|
||||
#define NU_WDT_RESET_DELAY_RSTDSEL WDT_RESET_DELAY_130CLK
|
||||
|
||||
/* Support watchdog timeout values beyond H/W
|
||||
*
|
||||
|
|
|
@ -42,8 +42,12 @@
|
|||
#define NU_WDT_65536CLK 65536
|
||||
#define NU_WDT_262144CLK 262144
|
||||
|
||||
/* Watchdog reset delay */
|
||||
#define NU_WDT_RESET_DELAY_RSTDSEL WDT_RESET_DELAY_3CLK
|
||||
/* Watchdog reset delay
|
||||
*
|
||||
* 1. Cannot be too small. This is to avoid premature WDT reset in pieces of timeout cascading.
|
||||
* 2. Cannot be too large. This is to pass Greentea reset_reason/watchdog_reset tests, which have e.g. 50~100 reset delay tolerance.
|
||||
*/
|
||||
#define NU_WDT_RESET_DELAY_RSTDSEL WDT_RESET_DELAY_130CLK
|
||||
|
||||
/* Support watchdog timeout values beyond H/W
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue