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 #define TARGET_BOARD_IDENTIFIER "MSKY" // Micro sciSKY
29 #define BEEPER_PIN PA12
31 #define BARO_XCLR_PIN PC13
32 #define BARO_EOC_PIN PC14
34 #define INVERTER_PIN_UART2 PB2 // PB2 (BOOT1) abused as inverter select GPIO
37 #define MAG_INT_EXTI PC14
38 #define USE_MPU_DATA_READY_SIGNAL
39 #define USE_MAG_DATA_READY_SIGNAL
48 #define USE_SPI_DEVICE_2
51 #define USE_GYRO_MPU6050
52 #define GYRO_1_ALIGN CW0_DEG
55 #define USE_ACC_MPU6050
58 #define USE_BARO_MS5611
59 #define USE_BARO_BMP085
60 #define USE_BARO_BMP280
63 #define USE_MAG_HMC5883
64 #define USE_MAG_QMC5883
65 #define MAG_HMC5883_ALIGN CW180_DEG
69 #define SERIAL_PORT_COUNT 2
72 #define USE_I2C_DEVICE_2
73 #define I2C_DEVICE (I2CDEV_2)
75 #define BRUSHED_MOTORS
76 #define DEFAULT_FEATURES FEATURE_MOTOR_STOP
77 #define DEFAULT_RX_FEATURE FEATURE_RX_SERIAL
78 #define SERIALRX_PROVIDER SERIALRX_SPEKTRUM1024
79 #define SERIALRX_UART SERIAL_PORT_USART2
80 #define RX_CHANNELS_TAER
83 #define USE_QUAD_MIXER_ONLY
86 // IO - assuming all IOs on 48pin package
87 #define TARGET_IO_PORTA 0xffff
88 #define TARGET_IO_PORTB 0xffff
89 #define TARGET_IO_PORTC ( BIT(13) | BIT(14) | BIT(15) )
91 #define USABLE_TIMER_CHANNEL_COUNT 14
92 #define USED_TIMERS ( TIM_N(1) | TIM_N(2) | TIM_N(3) | TIM_N(4) )