File tree Expand file tree Collapse file tree 4 files changed +24
-8
lines changed Expand file tree Collapse file tree 4 files changed +24
-8
lines changed Original file line number Diff line number Diff line change 43
43
#define NU_WDT_65536CLK 65536
44
44
#define NU_WDT_262144CLK 262144
45
45
46
- /* Watchdog reset delay */
47
- #define NU_WDT_RESET_DELAY_RSTDSEL WDT_RESET_DELAY_3CLK
46
+ /* Watchdog reset delay
47
+ *
48
+ * 1. Cannot be too small. This is to avoid premature WDT reset in pieces of timeout cascading.
49
+ * 2. Cannot be too large. This is to pass Greentea reset_reason/watchdog_reset tests, which have e.g. 50~100 reset delay tolerance.
50
+ */
51
+ #define NU_WDT_RESET_DELAY_RSTDSEL WDT_RESET_DELAY_130CLK
48
52
49
53
/* Support watchdog timeout values beyond H/W
50
54
*
Original file line number Diff line number Diff line change 42
42
#define NU_WDT_65536CLK 65536
43
43
#define NU_WDT_262144CLK 262144
44
44
45
- /* Watchdog reset delay */
46
- #define NU_WDT_RESET_DELAY_RSTDSEL WDT_RESET_DELAY_3CLK
45
+ /* Watchdog reset delay
46
+ *
47
+ * 1. Cannot be too small. This is to avoid premature WDT reset in pieces of timeout cascading.
48
+ * 2. Cannot be too large. This is to pass Greentea reset_reason/watchdog_reset tests, which have e.g. 50~100 reset delay tolerance.
49
+ */
50
+ #define NU_WDT_RESET_DELAY_RSTDSEL WDT_RESET_DELAY_130CLK
47
51
48
52
/* Support watchdog timeout values beyond H/W
49
53
*
Original file line number Diff line number Diff line change 42
42
#define NU_WDT_65536CLK 65536
43
43
#define NU_WDT_262144CLK 262144
44
44
45
- /* Watchdog reset delay */
46
- #define NU_WDT_RESET_DELAY_RSTDSEL WDT_RESET_DELAY_3CLK
45
+ /* Watchdog reset delay
46
+ *
47
+ * 1. Cannot be too small. This is to avoid premature WDT reset in pieces of timeout cascading.
48
+ * 2. Cannot be too large. This is to pass Greentea reset_reason/watchdog_reset tests, which have e.g. 50~100 reset delay tolerance.
49
+ */
50
+ #define NU_WDT_RESET_DELAY_RSTDSEL WDT_RESET_DELAY_130CLK
47
51
48
52
/* Support watchdog timeout values beyond H/W
49
53
*
Original file line number Diff line number Diff line change 42
42
#define NU_WDT_65536CLK 65536
43
43
#define NU_WDT_262144CLK 262144
44
44
45
- /* Watchdog reset delay */
46
- #define NU_WDT_RESET_DELAY_RSTDSEL WDT_RESET_DELAY_3CLK
45
+ /* Watchdog reset delay
46
+ *
47
+ * 1. Cannot be too small. This is to avoid premature WDT reset in pieces of timeout cascading.
48
+ * 2. Cannot be too large. This is to pass Greentea reset_reason/watchdog_reset tests, which have e.g. 50~100 reset delay tolerance.
49
+ */
50
+ #define NU_WDT_RESET_DELAY_RSTDSEL WDT_RESET_DELAY_130CLK
47
51
48
52
/* Support watchdog timeout values beyond H/W
49
53
*
You can’t perform that action at this time.
0 commit comments