rename fix: smoothStepUpTransition (#13768)
[betaflight.git] / src / test / unit / target.h
blobde179360fe3df979a023e3942dc9d61e4df84909
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 DMA_DATA
24 #define DMA_DATA_ZERO_INIT
26 #define USE_ACC
27 #define USE_CMS
28 #define CMS_MAX_DEVICE 4
29 #define USE_VIRTUAL_GYRO
30 #define USE_BEEPER
31 #define USE_BLACKBOX
32 #define USE_MAG
33 #define USE_BARO
34 #define USE_GPS
35 #define USE_GPS_NMEA
36 #define USE_GPS_UBLOX
37 #define USE_DASHBOARD
38 #define USE_SERIALRX
39 #define USE_RX_MSP
40 #define USE_SERIALRX_CRSF // Team Black Sheep Crossfire protocol
41 #define USE_SERIALRX_SPEKTRUM // DSM2 and DSMX protocol
42 #define USE_SERIALRX_SBUS // Frsky and Futaba receivers
43 #define USE_SERIALRX_IBUS // FlySky and Turnigy receivers
44 #define USE_SERIALRX_JETIEXBUS
45 #define USE_SERIALRX_SUMD // Graupner Hott protocol
46 #define USE_SERIALRX_SUMH // Graupner legacy protocol
47 #define USE_SERIALRX_XBUS // JR
48 #define USE_TELEMETRY
49 #define USE_TELEMETRY_CRSF
50 #define USE_TELEMETRY_FRSKY_HUB
51 #define USE_TELEMETRY_HOTT
52 #define USE_TELEMETRY_IBUS
53 #define USE_TELEMETRY_JETIEXBUS
54 #define USE_TELEMETRY_LTM
55 #define USE_TELEMETRY_MAVLINK
56 #define USE_TELEMETRY_SMARTPORT
57 #define USE_LED_STRIP
58 #define USE_LED_STRIP_STATUS_MODE
59 #define USE_SERVOS
60 #define USE_TRANSPONDER
61 #define USE_VCP
62 #define USE_UART1
63 #define USE_UART2
64 #define USE_UART3
65 #define USE_UART4
66 #define USE_UART5
67 #define USE_SOFTSERIAL
69 #define SERIAL_PORT_COUNT 8
71 #define DEFAULT_AUX_CHANNEL_COUNT MAX_AUX_CHANNEL_COUNT
72 #define MAX_SIMULTANEOUS_ADJUSTMENT_COUNT 6 // needed for unittest
74 #define TARGET_BOARD_IDENTIFIER "TEST"
76 #define USABLE_TIMER_CHANNEL_COUNT 0
78 #define TARGET_IO_PORTA 0xffff
79 #define TARGET_IO_PORTB 0xffff
80 #define TARGET_IO_PORTC 0xffff