git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4635 35acf78f-673a-0410-8e92-d51de3d6d3f4

master
gdisirio 2012-09-07 13:16:33 +00:00
parent 7c144ea540
commit 5caf58a184
1 changed files with 9 additions and 4 deletions

View File

@ -25,6 +25,11 @@
* Setup for the STMicroelectronics STM3210C-EVAL evaluation board. * 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. * Board identifier.
*/ */
@ -102,16 +107,16 @@
* PD6 - USART2RX (remapped) Digital Input * PD6 - USART2RX (remapped) Digital Input
* PD7 - LED (LD1) PP Output * PD7 - LED (LD1) PP Output
*/ */
#define VAL_GPIODCRL 0x34B44444 /* PD7...PD0 */ #define VAL_GPIODCRL 0x34B33444 /* PD7...PD0 */
#define VAL_GPIODCRH 0x44444444 /* PD15...PD8 */ #define VAL_GPIODCRH 0x44344444 /* PD15...PD8 */
#define VAL_GPIODODR 0x0F0FFFFF #define VAL_GPIODODR 0x0000DF67
/* /*
* Port E setup. * Port E setup.
* Everything input except: * Everything input except:
*/ */
#define VAL_GPIOECRL 0x44444444 /* PE7...PE0 */ #define VAL_GPIOECRL 0x44444444 /* PE7...PE0 */
#define VAL_GPIOECRH 0x44444444 /* PE15...PE8 */ #define VAL_GPIOECRH 0x44344444 /* PE15...PE8 */
#define VAL_GPIOEODR 0xFFFFFFFF #define VAL_GPIOEODR 0xFFFFFFFF
#if !defined(_FROM_ASM_) #if !defined(_FROM_ASM_)