aboutsummaryrefslogtreecommitdiffstats
path: root/boards
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-06-12 14:08:46 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-06-12 14:08:46 +0000
commit9343707ee283190273d0c4e94f8fdf1b9d264905 (patch)
treefd9c0976c383730f35fa51e36caad62a2112e526 /boards
parentfa0f676801195d9887184175bf5c59d0d1e9c0cb (diff)
downloadChibiOS-9343707ee283190273d0c4e94f8fdf1b9d264905.tar.gz
ChibiOS-9343707ee283190273d0c4e94f8fdf1b9d264905.tar.bz2
ChibiOS-9343707ee283190273d0c4e94f8fdf1b9d264905.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5843 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'boards')
-rw-r--r--boards/ST_EVB_SPC560BC/board.c4
-rw-r--r--boards/ST_EVB_SPC560D/board.c7
-rw-r--r--boards/ST_EVB_SPC560P/board.c4
-rw-r--r--boards/ST_EVB_SPC563M/board.c4
-rw-r--r--boards/ST_EVB_SPC564A/board.c4
-rw-r--r--boards/ST_EVB_SPC56EL/board.c4
6 files changed, 14 insertions, 13 deletions
diff --git a/boards/ST_EVB_SPC560BC/board.c b/boards/ST_EVB_SPC560BC/board.c
index dce36133b..5c067606b 100644
--- a/boards/ST_EVB_SPC560BC/board.c
+++ b/boards/ST_EVB_SPC560BC/board.c
@@ -18,7 +18,7 @@
#include "hal.h"
#if HAL_USE_PAL || defined(__DOXYGEN__)
-/* Initial setup of all defined pads, the list is terminated by a {0, 0, 0}.*/
+/* Initial setup of all defined pads, the list is terminated by a {-1, 0, 0}.*/
static const spc_siu_init_t spc_siu_init[] = {
{PCR(PORT_B, PB_LIN0_TDX), PAL_HIGH, PAL_MODE_OUTPUT_ALTERNATE(1)},
{PCR(PORT_B, PB_LIN0_RDX), PAL_HIGH, PAL_MODE_INPUT},
@@ -30,7 +30,7 @@ static const spc_siu_init_t spc_siu_init[] = {
{PCR(PORT_E, PE_LED2), PAL_HIGH, PAL_MODE_OUTPUT_PUSHPULL},
{PCR(PORT_E, PE_LED3), PAL_HIGH, PAL_MODE_OUTPUT_PUSHPULL},
{PCR(PORT_E, PE_LED4), PAL_HIGH, PAL_MODE_OUTPUT_PUSHPULL},
- {0, 0, 0}
+ {-1, 0, 0}
};
/* Initialization array for the PSMI registers.*/
diff --git a/boards/ST_EVB_SPC560D/board.c b/boards/ST_EVB_SPC560D/board.c
index dce36133b..fc5f2c6bc 100644
--- a/boards/ST_EVB_SPC560D/board.c
+++ b/boards/ST_EVB_SPC560D/board.c
@@ -18,7 +18,7 @@
#include "hal.h"
#if HAL_USE_PAL || defined(__DOXYGEN__)
-/* Initial setup of all defined pads, the list is terminated by a {0, 0, 0}.*/
+/* Initial setup of all defined pads, the list is terminated by a {-1, 0, 0}.*/
static const spc_siu_init_t spc_siu_init[] = {
{PCR(PORT_B, PB_LIN0_TDX), PAL_HIGH, PAL_MODE_OUTPUT_ALTERNATE(1)},
{PCR(PORT_B, PB_LIN0_RDX), PAL_HIGH, PAL_MODE_INPUT},
@@ -30,13 +30,14 @@ static const spc_siu_init_t spc_siu_init[] = {
{PCR(PORT_E, PE_LED2), PAL_HIGH, PAL_MODE_OUTPUT_PUSHPULL},
{PCR(PORT_E, PE_LED3), PAL_HIGH, PAL_MODE_OUTPUT_PUSHPULL},
{PCR(PORT_E, PE_LED4), PAL_HIGH, PAL_MODE_OUTPUT_PUSHPULL},
- {0, 0, 0}
+ {-1, 0, 0}
};
/* Initialization array for the PSMI registers.*/
static const uint8_t spc_padsels_init[SPC5_SIUL_NUM_PADSELS] = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0
};
/**
diff --git a/boards/ST_EVB_SPC560P/board.c b/boards/ST_EVB_SPC560P/board.c
index 4b0524f66..5410436bb 100644
--- a/boards/ST_EVB_SPC560P/board.c
+++ b/boards/ST_EVB_SPC560P/board.c
@@ -18,7 +18,7 @@
#include "hal.h"
#if HAL_USE_PAL || defined(__DOXYGEN__)
-/* Initial setup of all defined pads, the list is terminated by a {0, 0, 0}.*/
+/* Initial setup of all defined pads, the list is terminated by a {-1, 0, 0}.*/
static const spc_siu_init_t spc_siu_init[] = {
{PCR(PORT_B, PB_LIN0_TDX), PAL_HIGH, PAL_MODE_OUTPUT_ALTERNATE(1)},
{PCR(PORT_B, PB_LIN0_RDX), PAL_HIGH, PAL_MODE_INPUT},
@@ -30,7 +30,7 @@ static const spc_siu_init_t spc_siu_init[] = {
{PCR(PORT_D, PD_LED2), PAL_HIGH, PAL_MODE_OUTPUT_PUSHPULL},
{PCR(PORT_D, PD_LED3), PAL_HIGH, PAL_MODE_OUTPUT_PUSHPULL},
{PCR(PORT_D, PD_LED4), PAL_HIGH, PAL_MODE_OUTPUT_PUSHPULL},
- {0, 0, 0}
+ {-1, 0, 0}
};
/* Initialization array for the PSMI registers.*/
diff --git a/boards/ST_EVB_SPC563M/board.c b/boards/ST_EVB_SPC563M/board.c
index 87115289b..523d1d7e5 100644
--- a/boards/ST_EVB_SPC563M/board.c
+++ b/boards/ST_EVB_SPC563M/board.c
@@ -18,7 +18,7 @@
#include "hal.h"
#if HAL_USE_PAL || defined(__DOXYGEN__)
-/* Initial setup of all defined pads, the list is terminated by a {0, 0, 0}.*/
+/* Initial setup of all defined pads, the list is terminated by a {-1, 0, 0}.*/
static const spc_siu_init_t spc_siu_init[] = {
{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)},
@@ -30,7 +30,7 @@ static const spc_siu_init_t spc_siu_init[] = {
{PCR(PORT11, P11_LED2), PAL_HIGH, PAL_MODE_OUTPUT_PUSHPULL},
{PCR(PORT11, P11_LED3), PAL_HIGH, PAL_MODE_OUTPUT_PUSHPULL},
{PCR(PORT11, P11_LED4), PAL_HIGH, PAL_MODE_OUTPUT_PUSHPULL},
- {0, 0, 0}
+ {-1, 0, 0}
};
/**
diff --git a/boards/ST_EVB_SPC564A/board.c b/boards/ST_EVB_SPC564A/board.c
index 87115289b..523d1d7e5 100644
--- a/boards/ST_EVB_SPC564A/board.c
+++ b/boards/ST_EVB_SPC564A/board.c
@@ -18,7 +18,7 @@
#include "hal.h"
#if HAL_USE_PAL || defined(__DOXYGEN__)
-/* Initial setup of all defined pads, the list is terminated by a {0, 0, 0}.*/
+/* Initial setup of all defined pads, the list is terminated by a {-1, 0, 0}.*/
static const spc_siu_init_t spc_siu_init[] = {
{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)},
@@ -30,7 +30,7 @@ static const spc_siu_init_t spc_siu_init[] = {
{PCR(PORT11, P11_LED2), PAL_HIGH, PAL_MODE_OUTPUT_PUSHPULL},
{PCR(PORT11, P11_LED3), PAL_HIGH, PAL_MODE_OUTPUT_PUSHPULL},
{PCR(PORT11, P11_LED4), PAL_HIGH, PAL_MODE_OUTPUT_PUSHPULL},
- {0, 0, 0}
+ {-1, 0, 0}
};
/**
diff --git a/boards/ST_EVB_SPC56EL/board.c b/boards/ST_EVB_SPC56EL/board.c
index 1f510a997..7373f595d 100644
--- a/boards/ST_EVB_SPC56EL/board.c
+++ b/boards/ST_EVB_SPC56EL/board.c
@@ -18,7 +18,7 @@
#include "hal.h"
#if HAL_USE_PAL || defined(__DOXYGEN__)
-/* Initial setup of all defined pads, the list is terminated by a {0, 0, 0}.*/
+/* Initial setup of all defined pads, the list is terminated by a {-1, 0, 0}.*/
static const spc_siu_init_t spc_siu_init[] = {
{PCR(PORT_B, PB_LIN0_TDX), PAL_HIGH, PAL_MODE_OUTPUT_ALTERNATE(1)},
{PCR(PORT_B, PB_LIN0_RDX), PAL_HIGH, PAL_MODE_INPUT},
@@ -30,7 +30,7 @@ static const spc_siu_init_t spc_siu_init[] = {
{PCR(PORT_D, PD_LED2), PAL_HIGH, PAL_MODE_OUTPUT_PUSHPULL},
{PCR(PORT_D, PD_LED3), PAL_HIGH, PAL_MODE_OUTPUT_PUSHPULL},
{PCR(PORT_D, PD_LED4), PAL_HIGH, PAL_MODE_OUTPUT_PUSHPULL},
- {0, 0, 0}
+ {-1, 0, 0}
};
/* Initialization array for the PSMI registers.*/