aboutsummaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-02-19 14:25:56 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-02-19 14:25:56 +0000
commitab062ee5e28465b967572ed53b02e15b060e5343 (patch)
tree983f91374732037942c246ced3e2136419a4999a /demos
parent2d1cd6419ddcd27adab885fd0325288992fe59ab (diff)
downloadChibiOS-ab062ee5e28465b967572ed53b02e15b060e5343.tar.gz
ChibiOS-ab062ee5e28465b967572ed53b02e15b060e5343.tar.bz2
ChibiOS-ab062ee5e28465b967572ed53b02e15b060e5343.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5275 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos')
-rw-r--r--demos/PPC-SPC560P-GCC/mcuconf.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/demos/PPC-SPC560P-GCC/mcuconf.h b/demos/PPC-SPC560P-GCC/mcuconf.h
index 4fc37eff4..a36f0461f 100644
--- a/demos/PPC-SPC560P-GCC/mcuconf.h
+++ b/demos/PPC-SPC560P-GCC/mcuconf.h
@@ -30,6 +30,14 @@
*/
#define SPC5_NO_INIT FALSE
#define SPC5_ALLOW_OVERCLOCK FALSE
+#define SPC5_DISABLE_WATCHDOG TRUE
+#define SPC5_AUX0CLK_SRC SPC5_CGM_SS_FMPLL1
+#define SPC5_MCONTROL_DIVIDER_VALUE 2
+#define SPC5_FMPLL1_CLK_DIVIDER_VALUE 2
+#define SPC5_AUX2CLK_SRC SPC5_CGM_SS_FMPLL1
+#define SPC5_SP_CLK_DIVIDER_VALUE 2
+#define SPC5_AUX3CLK_SRC SPC5_CGM_SS_FMPLL1
+#define SPC5_FR_CLK_DIVIDER_VALUE 2
#define SPC5_FMPLL0_IDF_VALUE 5
#define SPC5_FMPLL0_NDIV_VALUE 32
#define SPC5_FMPLL0_ODF SPC5_FMPLL_ODF_DIV4
@@ -135,6 +143,7 @@
#define SPC5_ME_LP_PC7_BITS (SPC5_ME_LP_PC_HALT0 | \
SPC5_ME_LP_PC_STOP0)
#define SPC5_PIT0_IRQ_PRIORITY 4
+#define SPC5_CLOCK_FAILURE_HOOK() chSysHalt()
/*
* SERIAL driver system settings.