mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-26 17:55:30 +03:00
PORT103R - Update default hardware support.
This commit is contained in:
parent
9a7de3cf3c
commit
cd73c25352
1 changed files with 17 additions and 4 deletions
|
@ -19,9 +19,17 @@
|
||||||
|
|
||||||
#define TARGET_BOARD_IDENTIFIER "103R"
|
#define TARGET_BOARD_IDENTIFIER "103R"
|
||||||
|
|
||||||
#define LED0_GPIO GPIOD
|
#define LED0_GPIO GPIOB
|
||||||
#define LED0_PIN Pin_2 // PD2 (LED)
|
#define LED0_PIN Pin_3 // PB3 (LED)
|
||||||
#define LED0_PERIPHERAL RCC_APB2Periph_GPIOD
|
#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_GPIO GPIOA
|
||||||
#define BEEP_PIN Pin_12 // PA12 (Beeper)
|
#define BEEP_PIN Pin_12 // PA12 (Beeper)
|
||||||
|
@ -66,12 +74,17 @@
|
||||||
|
|
||||||
#define BARO
|
#define BARO
|
||||||
#define USE_BARO_MS5611
|
#define USE_BARO_MS5611
|
||||||
//#define USE_BARO_BMP085
|
#define USE_BARO_BMP085
|
||||||
|
|
||||||
#define MAG
|
#define MAG
|
||||||
|
#define USE_MAG_HMC5883
|
||||||
|
#define USE_MAG_AK8975
|
||||||
|
|
||||||
#define SONAR
|
#define SONAR
|
||||||
#define BEEPER
|
#define BEEPER
|
||||||
#define LED0
|
#define LED0
|
||||||
|
#define LED1
|
||||||
|
#define LED2
|
||||||
#define INVERTER
|
#define INVERTER
|
||||||
#define DISPLAY
|
#define DISPLAY
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue