2 * This file is part of Cleanflight and Betaflight.
4 * Cleanflight and Betaflight are free software. You can redistribute
5 * this software and/or modify this software under the terms of the
6 * GNU General Public License as published by the Free Software
7 * Foundation, either version 3 of the License, or (at your option)
10 * Cleanflight and Betaflight are distributed in the hope that they
11 * will be useful, but WITHOUT ANY WARRANTY; without even the implied
12 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13 * See the GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this software.
18 * If not, see <http://www.gnu.org/licenses/>.
23 #if defined(FF_RADIANCE)
24 #define TARGET_BOARD_IDENTIFIER "RADI" // Furious FPV RADIANCE
25 #elif defined(FF_KOMBINI)
26 #define TARGET_BOARD_IDENTIFIER "KOMB" // Furious FPV KOMBINI
27 #elif defined(FF_ACROWHOOPSP)
28 #define TARGET_BOARD_IDENTIFIER "AWHS" // Furious FPV ACROWHOOP SPEKTRUM
30 #define TARGET_BOARD_IDENTIFIER "PIKO" // Furious FPV PIKOBLX
33 #define ENABLE_DSHOT_DMAR DSHOT_DMAR_ON
34 #define REMAP_TIM16_DMA
37 #define USE_TARGET_CONFIG
43 #define BEEPER_PIN PA0
44 #define BEEPER_INVERTED
49 #define GYRO_1_EXTI_PIN PA15
50 #define USE_MPU_DATA_READY_SIGNAL
53 #define USE_GYRO_SPI_MPU6000
54 #define GYRO_1_ALIGN CW180_DEG
57 #define USE_ACC_SPI_MPU6000
59 #define GYRO_1_CS_PIN PB12
60 #define GYRO_1_SPI_INSTANCE SPI2
66 #define USE_SOFTSERIAL1
67 #define USE_SOFTSERIAL2
69 #define SERIAL_PORT_COUNT 6
72 #if defined(FF_RADIANCE) || defined(FF_KOMBINI)
73 #define ESCSERIAL_TIMER_TX_PIN PA7 // (Hardware=0)
75 #define ESCSERIAL_TIMER_TX_PIN PA4 // (Hardware=0)
78 #define UART1_TX_PIN PB6
79 #define UART1_RX_PIN PB7
81 #define UART2_TX_PIN PB3
82 #define UART2_RX_PIN PB4
84 #define UART3_TX_PIN PB10
85 #define UART3_RX_PIN PB11
88 #define USE_SPI_DEVICE_2
91 #define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC
92 #define ADC_INSTANCE ADC2
93 #define CURRENT_METER_ADC_PIN PB2
94 #define VBAT_ADC_PIN PA5
97 #if defined(FF_KOMBINI)
98 #define CURRENT_METER_SCALE_DEFAULT 125
101 #define DEFAULT_RX_FEATURE FEATURE_RX_SERIAL
102 #define SERIALRX_PROVIDER SERIALRX_SBUS
103 #define SERIALRX_UART SERIAL_PORT_USART3
105 #define USE_TRANSPONDER
107 // IO - stm32f303cc in 48pin package
108 #define TARGET_IO_PORTA 0xffff
109 #define TARGET_IO_PORTB 0xffff
110 #define TARGET_IO_PORTC (BIT(13)|BIT(14)|BIT(15))
111 #define TARGET_IO_PORTF (BIT(0)|BIT(1)|BIT(4))
113 #define USABLE_TIMER_CHANNEL_COUNT 9
114 #define USED_TIMERS (TIM_N(1) | TIM_N(2) | TIM_N(3) | TIM_N(16) | TIM_N(17))