diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2014-02-27 12:41:45 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2014-02-27 12:41:45 +0000 |
commit | 8bd485bc73fea20f4b27c91c22f789457665c9a9 (patch) | |
tree | 04b4fb295259ee51f83179b214cf7b358c446f80 /os | |
parent | 9cdc99632bd98b01131590651dfa3a1bbb857ae6 (diff) | |
download | ChibiOS-8bd485bc73fea20f4b27c91c22f789457665c9a9.tar.gz ChibiOS-8bd485bc73fea20f4b27c91c22f789457665c9a9.tar.bz2 ChibiOS-8bd485bc73fea20f4b27c91c22f789457665c9a9.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6733 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-rw-r--r-- | os/hal/boards/ST_EVB_SPC563M/board.c | 21 | ||||
-rw-r--r-- | os/hal/boards/ST_EVB_SPC563M/board.h | 6 |
2 files changed, 12 insertions, 15 deletions
diff --git a/os/hal/boards/ST_EVB_SPC563M/board.c b/os/hal/boards/ST_EVB_SPC563M/board.c index 4a098c568..09a34154b 100644 --- a/os/hal/boards/ST_EVB_SPC563M/board.c +++ b/os/hal/boards/ST_EVB_SPC563M/board.c @@ -19,16 +19,16 @@ #if HAL_USE_PAL || defined(__DOXYGEN__)
/* 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)},
- {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},
- {PCR(PORT11, P11_BUTTON4), PAL_LOW, PAL_MODE_INPUT},
- {PCR(PORT11, P11_LED1), PAL_HIGH, PAL_MODE_OUTPUT_PUSHPULL},
- {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},
+ {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},
+ {PCR(PORT11, P11_BUTTON4), PAL_LOW, PAL_MODE_INPUT},
+ {PCR(PORT11, P11_LED1), PAL_HIGH, PAL_MODE_OUTPUT_PUSHPULL},
+ {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},
{-1, 0, 0}
};
@@ -54,5 +54,4 @@ void __early_init(void) { * Board-specific initialization code.
*/
void boardInit(void) {
-
}
diff --git a/os/hal/boards/ST_EVB_SPC563M/board.h b/os/hal/boards/ST_EVB_SPC563M/board.h index 3a258f2f9..3074f9a7e 100644 --- a/os/hal/boards/ST_EVB_SPC563M/board.h +++ b/os/hal/boards/ST_EVB_SPC563M/board.h @@ -24,8 +24,8 @@ /*
* Board identifiers.
*/
-#define BOARD_GENERIC_SPC563M
-#define BOARD_NAME "Generic SPC563Mxx"
+#define BOARD_SPC563MXX_EVB
+#define BOARD_NAME "EVB with SPC563Mxx Mini Module"
/*
* Board frequencies.
@@ -39,12 +39,10 @@ */
#define P5_ESCI_A_TX 9
#define P5_ESCI_A_RX 10
-
#define P11_BUTTON1 3
#define P11_BUTTON2 5
#define P11_BUTTON3 7
#define P11_BUTTON4 9
-
#define P11_LED1 12
#define P11_LED2 13
#define P11_LED3 14
|