From cd73c253525fe1eb06f91882d1dbeb530fcb835e Mon Sep 17 00:00:00 2001 From: Dominic Clifton Date: Sat, 14 Feb 2015 23:50:51 +0000 Subject: [PATCH] PORT103R - Update default hardware support. --- src/main/target/PORT103R/target.h | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/src/main/target/PORT103R/target.h b/src/main/target/PORT103R/target.h index d371f6972..0f4aa3904 100644 --- a/src/main/target/PORT103R/target.h +++ b/src/main/target/PORT103R/target.h @@ -19,9 +19,17 @@ #define TARGET_BOARD_IDENTIFIER "103R" -#define LED0_GPIO GPIOD -#define LED0_PIN Pin_2 // PD2 (LED) -#define LED0_PERIPHERAL RCC_APB2Periph_GPIOD +#define LED0_GPIO GPIOB +#define LED0_PIN Pin_3 // PB3 (LED) +#define LED0_PERIPHERAL RCC_APB2Periph_GPIOB + +#define LED1_GPIO GPIOB +#define LED1_PIN Pin_4 // PB4 (LED) +#define LED1_PERIPHERAL RCC_APB2Periph_GPIOB + +#define LED2_GPIO GPIOD +#define LED2_PIN Pin_2 // PD2 (LED) - Labelled LED4 +#define LED2_PERIPHERAL RCC_APB2Periph_GPIOD #define BEEP_GPIO GPIOA #define BEEP_PIN Pin_12 // PA12 (Beeper) @@ -66,12 +74,17 @@ #define BARO #define USE_BARO_MS5611 -//#define USE_BARO_BMP085 +#define USE_BARO_BMP085 #define MAG +#define USE_MAG_HMC5883 +#define USE_MAG_AK8975 + #define SONAR #define BEEPER #define LED0 +#define LED1 +#define LED2 #define INVERTER #define DISPLAY -- 2.11.4.GIT