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
36 #define MAG_INT_EXTI PC14
37 #define USE_MAG_DATA_READY_SIGNAL
46 #define USE_SPI_DEVICE_2
49 #define USE_GYRO_MPU6050
50 #define GYRO_1_ALIGN CW0_DEG
53 #define USE_ACC_MPU6050
56 #define USE_BARO_MS5611
57 #define USE_BARO_BMP085
58 #define USE_BARO_BMP280
61 #define USE_MAG_HMC5883
62 #define USE_MAG_QMC5883
63 #define MAG_HMC5883_ALIGN CW180_DEG
67 #define SERIAL_PORT_COUNT 2
70 #define USE_I2C_DEVICE_2
71 #define I2C_DEVICE (I2CDEV_2)
73 #define BRUSHED_MOTORS
74 #define DEFAULT_FEATURES FEATURE_MOTOR_STOP
75 #define DEFAULT_RX_FEATURE FEATURE_RX_SERIAL
76 #define SERIALRX_PROVIDER SERIALRX_SPEKTRUM1024
77 #define SERIALRX_UART SERIAL_PORT_USART2
78 #define RX_CHANNELS_TAER
81 #define USE_QUAD_MIXER_ONLY
84 // IO - assuming all IOs on 48pin package
85 #define TARGET_IO_PORTA 0xffff
86 #define TARGET_IO_PORTB 0xffff
87 #define TARGET_IO_PORTC ( BIT(13) | BIT(14) | BIT(15) )
89 #define USABLE_TIMER_CHANNEL_COUNT 14
90 #define USED_TIMERS ( TIM_N(1) | TIM_N(2) | TIM_N(3) | TIM_N(4) )