diff options
-rw-r--r-- | at91lib/boards/simtrace/board_cstartup.S | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/at91lib/boards/simtrace/board_cstartup.S b/at91lib/boards/simtrace/board_cstartup.S index 92bcf8b..0752c29 100644 --- a/at91lib/boards/simtrace/board_cstartup.S +++ b/at91lib/boards/simtrace/board_cstartup.S @@ -138,6 +138,11 @@ resetHandler: ldr r0, =LowLevelInit
mov lr, pc
bx r0
+#else
+ /* explicitly disable the watchdog timer */
+ ldr r0, =AT91C_BASE_WDTC
+ mov r1, #AT91C_WDTC_WDDIS
+ str r1, [r0, #4]
#endif /* flash_dfu */
/* Initialize the relocate segment */
|