aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/SPC560Pxx
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-04-02 12:47:37 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-04-02 12:47:37 +0000
commit9897e9f71df067a0ed7b76d8cb80f3ad2bd25766 (patch)
treeba39cc025dfb5ce403dfe900f2403c4821c51e6b /os/hal/platforms/SPC560Pxx
parent89b53fa171d6fff642482f21fc967dc29707e809 (diff)
downloadChibiOS-9897e9f71df067a0ed7b76d8cb80f3ad2bd25766.tar.gz
ChibiOS-9897e9f71df067a0ed7b76d8cb80f3ad2bd25766.tar.bz2
ChibiOS-9897e9f71df067a0ed7b76d8cb80f3ad2bd25766.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5530 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/SPC560Pxx')
-rw-r--r--os/hal/platforms/SPC560Pxx/hal_lld.h2
-rw-r--r--os/hal/platforms/SPC560Pxx/spc560p_registry.h5
2 files changed, 7 insertions, 0 deletions
diff --git a/os/hal/platforms/SPC560Pxx/hal_lld.h b/os/hal/platforms/SPC560Pxx/hal_lld.h
index 4dd5c5f98..27468ff24 100644
--- a/os/hal/platforms/SPC560Pxx/hal_lld.h
+++ b/os/hal/platforms/SPC560Pxx/hal_lld.h
@@ -936,6 +936,8 @@ typedef enum {
/* External declarations. */
/*===========================================================================*/
+#include "spc5_edma.h"
+
#ifdef __cplusplus
extern "C" {
#endif
diff --git a/os/hal/platforms/SPC560Pxx/spc560p_registry.h b/os/hal/platforms/SPC560Pxx/spc560p_registry.h
index 7b4953f18..b5917827c 100644
--- a/os/hal/platforms/SPC560Pxx/spc560p_registry.h
+++ b/os/hal/platforms/SPC560Pxx/spc560p_registry.h
@@ -31,6 +31,11 @@
* @name SPC560Pxx capabilities
* @{
*/
+/* eDMA attributes.*/
+#define SPC5_HAS_EDMAA TRUE
+#define SPC5_EDMA_NCHANNELS 16
+#define SPC5_EDMA_HAS_MUX TRUE
+
/* LINFlex attributes.*/
#define SPC5_HAS_LINFLEX0 TRUE
#define SPC5_LINFLEX0_PCTL 48