Remove deprecated CLI name command
[betaflight.git] / src / test / unit / target.h
blob65510084423dd55f66f5e323865a659cc0e08f8b
1 /*
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/>.
18 #pragma once
20 #define SCHEDULER_DELAY_LIMIT 1
21 #define TASK_GYROPID_DESIRED_PERIOD 100
23 #define USE_ACC
24 #define USE_CMS
25 #define CMS_MAX_DEVICE 4
26 #define USE_FAKE_GYRO
27 #define USE_BEEPER
28 #define USE_BLACKBOX
29 #define USE_MAG
30 #define USE_BARO
31 #define USE_GPS
32 #define USE_DASHBOARD
33 #define USE_SERIAL_RX
34 #define USE_RX_MSP
35 #define USE_SERIALRX_CRSF // Team Black Sheep Crossfire protocol
36 #define USE_SERIALRX_SPEKTRUM // DSM2 and DSMX protocol
37 #define USE_SERIALRX_SBUS // Frsky and Futaba receivers
38 #define USE_SERIALRX_IBUS // FlySky and Turnigy receivers
39 #define USE_SERIALRX_JETIEXBUS
40 #define USE_SERIALRX_SUMD // Graupner Hott protocol
41 #define USE_SERIALRX_SUMH // Graupner legacy protocol
42 #define USE_SERIALRX_XBUS // JR
43 #define USE_TELEMETRY
44 #define USE_TELEMETRY_CRSF
45 #define USE_TELEMETRY_FRSKY_HUB
46 #define USE_TELEMETRY_HOTT
47 #define USE_TELEMETRY_IBUS
48 #define USE_TELEMETRY_JETIEXBUS
49 #define USE_TELEMETRY_LTM
50 #define USE_TELEMETRY_MAVLINK
51 #define USE_TELEMETRY_SMARTPORT
52 #define USE_LED_STRIP
53 #define USE_LED_STRIP_STATUS_MODE
54 #define USE_SERVOS
55 #define USE_TRANSPONDER
56 #define USE_VCP
57 #define USE_UART1
58 #define USE_UART2
59 #define USE_UART3
60 #define USE_UART4
61 #define USE_UART5
62 #define USE_SOFTSERIAL1
63 #define USE_SOFTSERIAL2
64 #define USE_TASK_STATISTICS
66 #define SERIAL_PORT_COUNT 8
68 #define DEFAULT_AUX_CHANNEL_COUNT MAX_AUX_CHANNEL_COUNT
69 #define MAX_SIMULTANEOUS_ADJUSTMENT_COUNT 6 // needed for unittest
71 #define TARGET_BOARD_IDENTIFIER "TEST"
73 #define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_SERIAL
75 #define LED_STRIP_TIMER 1
76 #define SOFTSERIAL_1_TIMER 2
77 #define SOFTSERIAL_2_TIMER 3
79 #define USABLE_TIMER_CHANNEL_COUNT 0
81 #define TARGET_IO_PORTA 0xffff
82 #define TARGET_IO_PORTB 0xffff
83 #define TARGET_IO_PORTC 0xffff