aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-03-13 13:20:42 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-03-13 13:20:42 +0000
commit6f4b10548d89d95cc4ec92aaf51c12dfa455055c (patch)
tree4ad2be9cb0d31432b4395a646b2b1aed11452c04 /os
parent3670cd18fa9d58ee18e0b0f5ef23bde587c63fd0 (diff)
downloadChibiOS-6f4b10548d89d95cc4ec92aaf51c12dfa455055c.tar.gz
ChibiOS-6f4b10548d89d95cc4ec92aaf51c12dfa455055c.tar.bz2
ChibiOS-6f4b10548d89d95cc4ec92aaf51c12dfa455055c.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5424 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-rw-r--r--os/hal/platforms/SPC563Mxx/hal_lld.h1
-rw-r--r--os/hal/platforms/SPC564Axx/hal_lld.h7
-rw-r--r--os/hal/platforms/SPC564Axx/spc564a_registry.h4
-rw-r--r--os/hal/platforms/SPC5xx/EDMA_v1/spc5_edma.c2
4 files changed, 6 insertions, 8 deletions
diff --git a/os/hal/platforms/SPC563Mxx/hal_lld.h b/os/hal/platforms/SPC563Mxx/hal_lld.h
index 4feb08a7d..c0061556d 100644
--- a/os/hal/platforms/SPC563Mxx/hal_lld.h
+++ b/os/hal/platforms/SPC563Mxx/hal_lld.h
@@ -129,7 +129,6 @@
/**
* @brief External clock pre-divider.
* @note Must be in range 1...15.
- * @note The effective divider factor is this value.
*/
#if !defined(SPC5_CLK_PREDIV) || defined(__DOXYGEN__)
#define SPC5_CLK_PREDIV_VALUE 2
diff --git a/os/hal/platforms/SPC564Axx/hal_lld.h b/os/hal/platforms/SPC564Axx/hal_lld.h
index c7ffd1400..7b26945a9 100644
--- a/os/hal/platforms/SPC564Axx/hal_lld.h
+++ b/os/hal/platforms/SPC564Axx/hal_lld.h
@@ -129,10 +129,9 @@
/**
* @brief External clock pre-divider.
* @note Must be in range 1...15.
- * @note The effective divider factor is this value.
*/
#if !defined(SPC5_CLK_PREDIV) || defined(__DOXYGEN__)
-#define SPC5_CLK_PREDIV_VALUE 2
+#define SPC5_CLK_PREDIV_VALUE 8
#endif
/**
@@ -140,14 +139,14 @@
* @note Must be in range 32...96.
*/
#if !defined(SPC5_CLK_MFD_VALUE) || defined(__DOXYGEN__)
-#define SPC5_CLK_MFD_VALUE 80
+#define SPC5_CLK_MFD_VALUE 60
#endif
/**
* @brief Reduced frequency divider.
*/
#if !defined(SPC5_CLK_RFD) || defined(__DOXYGEN__)
-#define SPC5_CLK_RFD RFD_DIV4
+#define SPC5_CLK_RFD RFD_DIV2
#endif
/**
diff --git a/os/hal/platforms/SPC564Axx/spc564a_registry.h b/os/hal/platforms/SPC564Axx/spc564a_registry.h
index a879ae012..4ba03c260 100644
--- a/os/hal/platforms/SPC564Axx/spc564a_registry.h
+++ b/os/hal/platforms/SPC564Axx/spc564a_registry.h
@@ -49,8 +49,8 @@
#define SPC5_ESCIB_NUMBER 149
#define SPC5_HAS_ESCIC TRUE
-#define SPC5_ESCIB_HANDLER vector473
-#define SPC5_ESCIB_NUMBER 473
+#define SPC5_ESCIC_HANDLER vector473
+#define SPC5_ESCIC_NUMBER 473
/* SIU attributes.*/
#define SPC5_HAS_SIU TRUE
diff --git a/os/hal/platforms/SPC5xx/EDMA_v1/spc5_edma.c b/os/hal/platforms/SPC5xx/EDMA_v1/spc5_edma.c
index 15e851386..dcac0a593 100644
--- a/os/hal/platforms/SPC5xx/EDMA_v1/spc5_edma.c
+++ b/os/hal/platforms/SPC5xx/EDMA_v1/spc5_edma.c
@@ -665,7 +665,7 @@ CH_IRQ_HANDLER(vector42) {
*/
CH_IRQ_HANDLER(vector210) {
edma_channel_t channel;
- uint32_t erl, esr = EDMA.ESR.R;
+ uint32_t erh, esr = EDMA.ESR.R;
CH_IRQ_PROLOGUE();