From 5caf58a184d6ffb0d08c286ab8137d224ae48ba3 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Fri, 7 Sep 2012 13:16:33 +0000 Subject: [PATCH] git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4635 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- boards/ST_STM3210C_EVAL/board.h | 13 +++++++++---- 1 file 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_)