[4.4.2] Remove 15 m/s limit on estimated vario (#12788)
[betaflight.git] / src / main / target / STM32H743 / target.h
blobee6d3c0ed36a73a8819d6d5058cbe3bea60309ef
1 /*
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)
8 * any later version.
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/>.
21 #pragma once
23 #define TARGET_BOARD_IDENTIFIER "SH74"
25 #define USBD_PRODUCT_STRING "Betaflight STM32H743"
27 #define USE_I2C_DEVICE_1
28 #define USE_I2C_DEVICE_2
29 #define USE_I2C_DEVICE_3
30 #define USE_I2C_DEVICE_4
32 #define USE_UART1
33 #define USE_UART2
34 #define USE_UART3
35 #define USE_UART4
36 #define USE_UART5
37 #define USE_UART6
38 #define USE_UART7
39 #define USE_UART8
40 #define USE_LPUART1
42 #define SERIAL_PORT_COUNT (UNIFIED_SERIAL_PORT_COUNT + 9)
44 #define USE_SPI_DEVICE_1
45 #define USE_SPI_DEVICE_2
46 #define USE_SPI_DEVICE_3
47 #define USE_SPI_DEVICE_4
48 #define USE_SPI_DEVICE_5
49 #define USE_SPI_DEVICE_6
51 #define TARGET_IO_PORTA 0xffff
52 #define TARGET_IO_PORTB 0xffff
53 #define TARGET_IO_PORTC 0xffff
54 #define TARGET_IO_PORTD 0xffff
55 #define TARGET_IO_PORTE 0xffff
56 #define TARGET_IO_PORTF 0xffff
57 #define TARGET_IO_PORTG 0xffff
59 #define USE_I2C
60 #define I2C_FULL_RECONFIGURABILITY
62 #define USE_BEEPER
64 #ifdef USE_SDCARD
65 #define USE_SDCARD_SPI
66 #define USE_SDCARD_SDIO
67 #endif
69 #define USE_SPI
70 #define SPI_FULL_RECONFIGURABILITY
72 #define USE_VCP
74 #define USE_SOFTSERIAL1
75 #define USE_SOFTSERIAL2
77 #define UNIFIED_SERIAL_PORT_COUNT 3
79 #define USE_USB_DETECT
81 #define USE_ESCSERIAL
83 #define USE_ADC
85 #define USE_CUSTOM_DEFAULTS