aboutsummaryrefslogtreecommitdiffstats
path: root/boards/ST_STM3210C_EVAL/board.h
diff options
context:
space:
mode:
Diffstat (limited to 'boards/ST_STM3210C_EVAL/board.h')
-rw-r--r--boards/ST_STM3210C_EVAL/board.h13
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_)