diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-04-02 12:47:37 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-04-02 12:47:37 +0000 |
commit | 9897e9f71df067a0ed7b76d8cb80f3ad2bd25766 (patch) | |
tree | ba39cc025dfb5ce403dfe900f2403c4821c51e6b /os/hal/platforms/SPC560Pxx | |
parent | 89b53fa171d6fff642482f21fc967dc29707e809 (diff) | |
download | ChibiOS-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.h | 2 | ||||
-rw-r--r-- | os/hal/platforms/SPC560Pxx/spc560p_registry.h | 5 |
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
|