arm atmel sam3: Disable watchdog timer
Watchdog timer is enabled after the board reset. It is not used by Zephyr OS, and having it enabled causes system resets during CPU-intensive operations. Change-Id: If5583dbd2d2fb2206274467c523d6b5d147f1fbe Signed-off-by: Dmitriy Korovkin <dmitriy.korovkin@windriver.com>
This commit is contained in:
parent
8409242d6d
commit
59f198d86d
1 changed files with 3 additions and 0 deletions
|
@ -187,6 +187,9 @@ static int atmel_sam3_init(struct device *arg)
|
|||
/* Setup master clock */
|
||||
clock_init();
|
||||
|
||||
/* Disable watchdog timer, not used by system */
|
||||
__WDT->mr |= WDT_DISABLE;
|
||||
|
||||
/* Install default handler that simply resets the CPU
|
||||
* if configured in the kernel, NOP otherwise
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue