Go to the documentation of this file.
20 #define USE_QUAD_MIXER_ONLY 0
21 #define TARGET_BOARD_IDENTIFIER "EUF1"
24 #define LED0_GPIO GPIOB
25 #define LED0_PIN Pin_3 // PB3 (LED)
26 #define LED0_PERIPHERAL RCC_APB2Periph_GPIOB
27 #define LED1_GPIO GPIOB
28 #define LED1_PIN Pin_4 // PB4 (LED)
29 #define LED1_PERIPHERAL RCC_APB2Periph_GPIOB
31 #define INVERTER_PIN Pin_2 // PB2 (BOOT1) abused as inverter select GPIO
32 #define INVERTER_GPIO GPIOB
33 #define INVERTER_PERIPHERAL RCC_APB2Periph_GPIOB
34 #define INVERTER_USART USART2
36 #define MPU6000_CS_GPIO GPIOB
37 #define MPU6000_CS_PIN GPIO_Pin_12
38 #define MPU6000_SPI_INSTANCE SPI2
40 #define MPU6500_CS_GPIO_CLK_PERIPHERAL RCC_APB2Periph_GPIOB
41 #define MPU6500_CS_GPIO GPIOB
42 #define MPU6500_CS_PIN GPIO_Pin_12
43 #define MPU6500_SPI_INSTANCE SPI2
47 #define USE_GYRO_L3G4200D
50 #define USE_GYRO_MPU6050
51 #define USE_GYRO_SPI_MPU6000
52 #define USE_GYRO_SPI_MPU6500
54 #define GYRO_MPU6050_ALIGN CW0_DEG
58 #define USE_ACC_ADXL345
59 #define USE_ACC_BMA280
60 #define USE_ACC_MMA8452
61 #define USE_ACC_MPU6050
63 #define USE_ACC_SPI_MPU6500
65 #define ACC_MPU6050_ALIGN CW0_DEG
68 #define USE_BARO_MS5611
69 #define USE_BARO_BMP085
72 #define USE_MAG_HMC5883
73 #define USE_MAG_AK8975
75 #define MAG_AK8975_ALIGN CW180_DEG_FLIP
84 #define SONAR_PWM_TRIGGER_PIN Pin_8 // PWM5 (PB8) - 5v tolerant
85 #define SONAR_PWM_TRIGGER_GPIO GPIOB
86 #define SONAR_PWM_ECHO_PIN Pin_9 // PWM6 (PB9) - 5v tolerant
87 #define SONAR_PWM_ECHO_GPIO GPIOB
88 #define SONAR_PWM_EXTI_LINE EXTI_Line9
89 #define SONAR_PWM_EXTI_PIN_SOURCE GPIO_PinSource9
90 #define SONAR_PWM_EXTI_IRQN EXTI9_5_IRQn
91 #define SONAR_TRIGGER_PIN Pin_0 // RX7 (PB0) - only 3.3v ( add a 1K Ohms resistor )
92 #define SONAR_TRIGGER_GPIO GPIOB
93 #define SONAR_ECHO_PIN Pin_1 // RX8 (PB1) - only 3.3v ( add a 1K Ohms resistor )
94 #define SONAR_ECHO_GPIO GPIOB
95 #define SONAR_EXTI_LINE EXTI_Line1
96 #define SONAR_EXTI_PIN_SOURCE GPIO_PinSource1
97 #define SONAR_EXTI_IRQN EXTI1_IRQn
104 #define USE_SOFTSERIAL1
105 #define USE_SOFTSERIAL2
106 #define SERIAL_PORT_COUNT 7
108 #define SOFTSERIAL_1_TIMER TIM3
109 #define SOFTSERIAL_1_TIMER_RX_HARDWARE 4 // PWM 5
110 #define SOFTSERIAL_1_TIMER_TX_HARDWARE 5 // PWM 6
111 #define SOFTSERIAL_2_TIMER TIM3
112 #define SOFTSERIAL_2_TIMER_RX_HARDWARE 6 // PWM 7
113 #define SOFTSERIAL_2_TIMER_TX_HARDWARE 7 // PWM 8
116 #define I2C_DEVICE (I2CDEV_2)
124 #define CURRENT_METER_ADC_GPIO GPIOB
125 #define CURRENT_METER_ADC_GPIO_PIN GPIO_Pin_1
126 #define CURRENT_METER_ADC_CHANNEL ADC_Channel_9
128 #define VBAT_ADC_GPIO GPIOA
129 #define VBAT_ADC_GPIO_PIN GPIO_Pin_4
130 #define VBAT_ADC_CHANNEL ADC_Channel_4
132 #define RSSI_ADC_GPIO GPIOA
133 #define RSSI_ADC_GPIO_PIN GPIO_Pin_1
134 #define RSSI_ADC_CHANNEL ADC_Channel_1
136 #define EXTERNAL1_ADC_GPIO GPIOA
137 #define EXTERNAL1_ADC_GPIO_PIN GPIO_Pin_5
138 #define EXTERNAL1_ADC_CHANNEL ADC_Channel_5
142 #define LED_STRIP_TIMER TIM3
143 #define WS2811_DMA_TC_FLAG DMA1_FLAG_TC6
144 #define WS2811_DMA_HANDLER_IDENTIFER DMA1_CH6_HANDLER
154 #define SPEKTRUM_BIND
156 #define BIND_PORT GPIOA
157 #define BIND_PIN Pin_3