diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-09-07 13:16:33 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-09-07 13:16:33 +0000 |
commit | 5caf58a184d6ffb0d08c286ab8137d224ae48ba3 (patch) | |
tree | 386643c17377482f6346afc99c784c2667afb0ed /boards | |
parent | 7c144ea54022c4b58865373f7bc2159b5a84cd8c (diff) | |
download | ChibiOS-5caf58a184d6ffb0d08c286ab8137d224ae48ba3.tar.gz ChibiOS-5caf58a184d6ffb0d08c286ab8137d224ae48ba3.tar.bz2 ChibiOS-5caf58a184d6ffb0d08c286ab8137d224ae48ba3.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4635 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'boards')
-rw-r--r-- | boards/ST_STM3210C_EVAL/board.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/boards/ST_STM3210C_EVAL/board.h b/boards/ST_STM3210C_EVAL/board.h index beb448937..8aad92543 100644 --- a/boards/ST_STM3210C_EVAL/board.h +++ b/boards/ST_STM3210C_EVAL/board.h @@ -25,6 +25,11 @@ * Setup for the STMicroelectronics STM3210C-EVAL evaluation board.
*/
+#define GPIOD_LED1 7
+#define GPIOD_LED2 13
+#define GPIOD_LED3 3
+#define GPIOD_LED4 4
+
/*
* Board identifier.
*/
@@ -102,16 +107,16 @@ * PD6 - USART2RX (remapped) Digital Input
* PD7 - LED (LD1) PP Output
*/
-#define VAL_GPIODCRL 0x34B44444 /* PD7...PD0 */
-#define VAL_GPIODCRH 0x44444444 /* PD15...PD8 */
-#define VAL_GPIODODR 0x0F0FFFFF
+#define VAL_GPIODCRL 0x34B33444 /* PD7...PD0 */
+#define VAL_GPIODCRH 0x44344444 /* PD15...PD8 */
+#define VAL_GPIODODR 0x0000DF67
/*
* Port E setup.
* Everything input except:
*/
#define VAL_GPIOECRL 0x44444444 /* PE7...PE0 */
-#define VAL_GPIOECRH 0x44444444 /* PE15...PE8 */
+#define VAL_GPIOECRH 0x44344444 /* PE15...PE8 */
#define VAL_GPIOEODR 0xFFFFFFFF
#if !defined(_FROM_ASM_)
|