aboutsummaryrefslogtreecommitdiffstats
path: root/boards/GENERIC_SPC563M
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-12-12 14:00:04 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-12-12 14:00:04 +0000
commit14dd40b4ff8ac3b3f77a776279c16168d6500ee1 (patch)
treee3f8f0692385af699d0f1c6496ac60b18c708dd1 /boards/GENERIC_SPC563M
parente4c5ac420566026e6b819bd10956156e453f0842 (diff)
downloadChibiOS-14dd40b4ff8ac3b3f77a776279c16168d6500ee1.tar.gz
ChibiOS-14dd40b4ff8ac3b3f77a776279c16168d6500ee1.tar.bz2
ChibiOS-14dd40b4ff8ac3b3f77a776279c16168d6500ee1.zip
Updated SPC563M64 support.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4907 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'boards/GENERIC_SPC563M')
-rw-r--r--boards/GENERIC_SPC563M/board.c4
-rw-r--r--boards/GENERIC_SPC563M/board.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/boards/GENERIC_SPC563M/board.c b/boards/GENERIC_SPC563M/board.c
index 5914c19e8..b4298f26a 100644
--- a/boards/GENERIC_SPC563M/board.c
+++ b/boards/GENERIC_SPC563M/board.c
@@ -24,8 +24,8 @@
#if HAL_USE_PAL || defined(__DOXYGEN__)
/* Initial setup of all defined pads, the list is terminated by a {0, 0, 0}.*/
static const spc_siu_init_t spc_siu_init[] = {
- {PCR(PORT4, P4_ESCI_A_TX), PAL_HIGH, PAL_MODE_OUTPUT_ALTERNATE(1)},
- {PCR(PORT4, P4_ESCI_A_RX), PAL_HIGH, PAL_MODE_OUTPUT_ALTERNATE(1)},
+ {PCR(PORT5, P5_ESCI_A_TX), PAL_HIGH, PAL_MODE_OUTPUT_ALTERNATE(1)},
+ {PCR(PORT5, P5_ESCI_A_RX), PAL_HIGH, PAL_MODE_OUTPUT_ALTERNATE(1)},
{PCR(PORT11, P11_BUTTON1), PAL_LOW, PAL_MODE_INPUT},
{PCR(PORT11, P11_BUTTON2), PAL_LOW, PAL_MODE_INPUT},
{PCR(PORT11, P11_BUTTON3), PAL_LOW, PAL_MODE_INPUT},
diff --git a/boards/GENERIC_SPC563M/board.h b/boards/GENERIC_SPC563M/board.h
index 6c85c76f7..a83eb8f20 100644
--- a/boards/GENERIC_SPC563M/board.h
+++ b/boards/GENERIC_SPC563M/board.h
@@ -41,8 +41,8 @@
/*
* I/O definitions.
*/
-#define P4_ESCI_A_TX 9
-#define P4_ESCI_A_RX 10
+#define P5_ESCI_A_TX 9
+#define P5_ESCI_A_RX 10
#define P11_BUTTON1 3
#define P11_BUTTON2 5