diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-11-30 19:11:03 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-11-30 19:11:03 +0000 |
commit | 770c4873d20623f6d4f678d62b67eb6218e259bf (patch) | |
tree | c461c249b3738e0bf33039a43876fd7da5578c70 /demos/ARM7-AT91SAM7X-GCC/board.c | |
parent | 39d171f7ef1cf093a1b1a05650afb0256b7c7ce1 (diff) | |
download | ChibiOS-770c4873d20623f6d4f678d62b67eb6218e259bf.tar.gz ChibiOS-770c4873d20623f6d4f678d62b67eb6218e259bf.tar.bz2 ChibiOS-770c4873d20623f6d4f678d62b67eb6218e259bf.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1367 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/ARM7-AT91SAM7X-GCC/board.c')
-rw-r--r-- | demos/ARM7-AT91SAM7X-GCC/board.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/demos/ARM7-AT91SAM7X-GCC/board.c b/demos/ARM7-AT91SAM7X-GCC/board.c index b9704971c..fab8b0338 100644 --- a/demos/ARM7-AT91SAM7X-GCC/board.c +++ b/demos/ARM7-AT91SAM7X-GCC/board.c @@ -44,7 +44,10 @@ static CH_IRQ_HANDLER(SYSIrqHandler) { * segments initialization.
*/
void hwinit0(void) {
-
+
+ /* Watchdog disabled.*/
+ AT91C_BASE_WDTC->WDTC_WDMR = AT91C_WDTC_WDDIS;
+
at91sam7_clock_init();
}
@@ -56,7 +59,7 @@ void hwinit0(void) { void hwinit1(void) {
/*
- * HAL initialization. + * HAL initialization.
*/
halInit();
|