2 * This file is part of Cleanflight.
4 * Cleanflight is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 3 of the License, or
7 * (at your option) any later version.
9 * Cleanflight is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
20 #define SCHEDULER_DELAY_LIMIT 1
21 #define TASK_GYROPID_DESIRED_PERIOD 100
24 #define DMA_DATA_ZERO_INIT
28 #define CMS_MAX_DEVICE 4
38 #define USE_SERIALRX_CRSF // Team Black Sheep Crossfire protocol
39 #define USE_SERIALRX_SPEKTRUM // DSM2 and DSMX protocol
40 #define USE_SERIALRX_SBUS // Frsky and Futaba receivers
41 #define USE_SERIALRX_IBUS // FlySky and Turnigy receivers
42 #define USE_SERIALRX_JETIEXBUS
43 #define USE_SERIALRX_SUMD // Graupner Hott protocol
44 #define USE_SERIALRX_SUMH // Graupner legacy protocol
45 #define USE_SERIALRX_XBUS // JR
47 #define USE_TELEMETRY_CRSF
48 #define USE_TELEMETRY_FRSKY_HUB
49 #define USE_TELEMETRY_HOTT
50 #define USE_TELEMETRY_IBUS
51 #define USE_TELEMETRY_JETIEXBUS
52 #define USE_TELEMETRY_LTM
53 #define USE_TELEMETRY_MAVLINK
54 #define USE_TELEMETRY_SMARTPORT
56 #define USE_LED_STRIP_STATUS_MODE
58 #define USE_TRANSPONDER
65 #define USE_SOFTSERIAL1
66 #define USE_SOFTSERIAL2
68 #define SERIAL_PORT_COUNT 8
70 #define DEFAULT_AUX_CHANNEL_COUNT MAX_AUX_CHANNEL_COUNT
71 #define MAX_SIMULTANEOUS_ADJUSTMENT_COUNT 6 // needed for unittest
73 #define TARGET_BOARD_IDENTIFIER "TEST"
75 #define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_SERIAL
77 #define LED_STRIP_TIMER 1
78 #define SOFTSERIAL_1_TIMER 2
79 #define SOFTSERIAL_2_TIMER 3
81 #define USABLE_TIMER_CHANNEL_COUNT 0
83 #define TARGET_IO_PORTA 0xffff
84 #define TARGET_IO_PORTB 0xffff
85 #define TARGET_IO_PORTC 0xffff