diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-02-19 11:34:33 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-02-19 11:34:33 +0000 |
commit | f6f45f52012c5bd0ab890978737381df08e404a0 (patch) | |
tree | 6dcc5ed66f9497b2bde2914739170644f86b3f39 | |
parent | 664142cdfc4209a0ba1962add48e6881e526f80f (diff) | |
download | ChibiOS-f6f45f52012c5bd0ab890978737381df08e404a0.tar.gz ChibiOS-f6f45f52012c5bd0ab890978737381df08e404a0.tar.bz2 ChibiOS-f6f45f52012c5bd0ab890978737381df08e404a0.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5264 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r-- | boards/GENERIC_SPC560BC/board.c | 5 | ||||
-rw-r--r-- | demos/PPC-SPC560B-GCC/mcuconf.h | 1 |
2 files changed, 1 insertions, 5 deletions
diff --git a/boards/GENERIC_SPC560BC/board.c b/boards/GENERIC_SPC560BC/board.c index f7155230f..fea792c3e 100644 --- a/boards/GENERIC_SPC560BC/board.c +++ b/boards/GENERIC_SPC560BC/board.c @@ -55,11 +55,6 @@ const PALConfig pal_default_config = { void __early_init(void) {
spc_clock_init();
-
- /* SWT disabled.*/
- SWT.SR.R = 0xC520;
- SWT.SR.R = 0xD928;
- SWT.CR.R = 0xFF00000A;
}
/*
diff --git a/demos/PPC-SPC560B-GCC/mcuconf.h b/demos/PPC-SPC560B-GCC/mcuconf.h index 48bb7462c..5eec57f62 100644 --- a/demos/PPC-SPC560B-GCC/mcuconf.h +++ b/demos/PPC-SPC560B-GCC/mcuconf.h @@ -30,6 +30,7 @@ */
#define SPC5_NO_INIT FALSE
#define SPC5_ALLOW_OVERCLOCK FALSE
+#define SPC5_DISABLE_WATCHDOG TRUE
#define SPC5_XOSCDIV_VALUE 1
#define SPC5_IRCDIV_VALUE 1
#define SPC5_FMPLL0_IDF_VALUE 1
|