From 7b6b24fade103840719df1c13172357249518c6e Mon Sep 17 00:00:00 2001 From: YI-BOYANG <46438966+YI-BOYANG@users.noreply.github.com> Date: Wed, 26 Jun 2024 22:06:56 +0800 Subject: [PATCH] Update GEPRCF745_BT_HD (#478) * Update GEPRCF745_BT_HD Some Baro and Mag were added, the default UART was configured, and the orientation of the No. 1 gyroscope was changed. * Update configs/GEPRCF745_BT_HD/config.h Delete the definition of Mag Co-authored-by: Mark Haslinghuis --------- Co-authored-by: Mark Haslinghuis --- configs/GEPRCF745_BT_HD/config.h | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/configs/GEPRCF745_BT_HD/config.h b/configs/GEPRCF745_BT_HD/config.h index e5de5cb3..8c055def 100644 --- a/configs/GEPRCF745_BT_HD/config.h +++ b/configs/GEPRCF745_BT_HD/config.h @@ -35,6 +35,12 @@ #define USE_BARO #define USE_BARO_BMP280 #define USE_BARO_DPS310 +#define USE_BARO_MS5611 +#ifndef USE_MAG +#define USE_MAG +#define USE_MAG_QMC5883 +#define USE_MAG_IST8310 +#endif #define USE_SDCARD #define USE_MAX7456 @@ -109,6 +115,10 @@ #define ADC1_DMA_OPT 0 +#define MSP_DISPLAYPORT_UART SERIAL_PORT_USART1 +#define SERIALRX_UART SERIAL_PORT_USART2 +#define MSP_UART SERIAL_PORT_USART3 + #define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH #define MAG_I2C_INSTANCE (I2CDEV_1) #define BARO_I2C_INSTANCE (I2CDEV_1) @@ -128,7 +138,6 @@ #define PINIO4_BOX 42 #define FLASH_SPI_INSTANCE SPI3 #define GYRO_1_SPI_INSTANCE SPI1 -#define GYRO_1_ALIGN CW270_DEG -#define GYRO_1_ALIGN_YAW 2700 +#define GYRO_1_ALIGN CW180_DEG #define GYRO_2_SPI_INSTANCE SPI2 #define MAX7456_SPI_INSTANCE SPI4