diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-02-15 09:49:21 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-02-15 09:49:21 +0000 |
commit | 446f34f3363f041569f80797ce4397faa1ef1e70 (patch) | |
tree | d8bacdd8c595b7b9f10949585dee21dcaf2a1a6a /demos/PPC-SPC56EL-GCC | |
parent | 2211987fdbd728612e3e8b4a659a104fb23c78f1 (diff) | |
download | ChibiOS-446f34f3363f041569f80797ce4397faa1ef1e70.tar.gz ChibiOS-446f34f3363f041569f80797ce4397faa1ef1e70.tar.bz2 ChibiOS-446f34f3363f041569f80797ce4397faa1ef1e70.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5183 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/PPC-SPC56EL-GCC')
-rw-r--r-- | demos/PPC-SPC56EL-GCC/mcuconf.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/demos/PPC-SPC56EL-GCC/mcuconf.h b/demos/PPC-SPC56EL-GCC/mcuconf.h index e2b8364f6..0f3d347f2 100644 --- a/demos/PPC-SPC56EL-GCC/mcuconf.h +++ b/demos/PPC-SPC56EL-GCC/mcuconf.h @@ -30,6 +30,7 @@ */
#define SPC5_NO_INIT FALSE
#define SPC5_ALLOW_OVERCLOCK FALSE
+#define SPC5_DISABLE_WATCHDOG TRUE
#define SPC5_FMPLL0_CLK_SRC SPC5_FMPLL_SRC_XOSC
#define SPC5_FMPLL0_IDF_VALUE 5
#define SPC5_FMPLL0_NDIV_VALUE 60
@@ -151,3 +152,15 @@ /*
* SERIAL driver system settings.
*/
+#define SPC5_SERIAL_USE_LINFLEX0 TRUE
+#define SPC5_SERIAL_USE_LINFLEX1 TRUE
+#define SPC5_SERIAL_LINFLEX0_PRIORITY 8
+#define SPC5_SERIAL_LINFLEX1_PRIORITY 8
+#define SPC5_SERIAL_LINFLEX0_START_PCTL (SPC5_ME_PCTL_RUN(1) | \
+ SPC5_ME_PCTL_LP(2))
+#define SPC5_SERIAL_LINFLEX0_STOP_PCTL (SPC5_ME_PCTL_RUN(0) | \
+ SPC5_ME_PCTL_LP(0))
+#define SPC5_SERIAL_LINFLEX1_START_PCTL (SPC5_ME_PCTL_RUN(1) | \
+ SPC5_ME_PCTL_LP(2))
+#define SPC5_SERIAL_LINFLEX1_STOP_PCTL (SPC5_ME_PCTL_RUN(0) | \
+ SPC5_ME_PCTL_LP(0))
|