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 DEBUG_MPU_DATA_READY_INTERRUPT
39 #define USE_MPU_DATA_READY_SIGNAL
40 //#define DEBUG_MAG_DATA_READY_INTERRUPT
41 #define USE_MAG_DATA_READY_SIGNAL
50 #define USE_SPI_DEVICE_2
53 #define USE_GYRO_MPU6050
54 #define GYRO_1_ALIGN CW0_DEG
57 #define USE_ACC_MPU6050
60 #define USE_BARO_MS5611
61 #define USE_BARO_BMP085
62 #define USE_BARO_BMP280
65 #define USE_MAG_HMC5883
66 #define USE_MAG_QMC5883
67 #define MAG_HMC5883_ALIGN CW180_DEG
71 #define SERIAL_PORT_COUNT 2
74 #define USE_I2C_DEVICE_2
75 #define I2C_DEVICE (I2CDEV_2)
77 #define BRUSHED_MOTORS
78 #define DEFAULT_FEATURES FEATURE_MOTOR_STOP
79 #define DEFAULT_RX_FEATURE FEATURE_RX_SERIAL
80 #define SERIALRX_PROVIDER SERIALRX_SPEKTRUM1024
81 #define SERIALRX_UART SERIAL_PORT_USART2
82 #define RX_CHANNELS_TAER
85 #define USE_QUAD_MIXER_ONLY
88 // IO - assuming all IOs on 48pin package
89 #define TARGET_IO_PORTA 0xffff
90 #define TARGET_IO_PORTB 0xffff
91 #define TARGET_IO_PORTC ( BIT(13) | BIT(14) | BIT(15) )
93 #define USABLE_TIMER_CHANNEL_COUNT 14
94 #define USED_TIMERS ( TIM_N(1) | TIM_N(2) | TIM_N(3) | TIM_N(4) )