Skip to content

Commit

Permalink
Update GEPRCF745_BT_HD (#478)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>

---------

Co-authored-by: Mark Haslinghuis <[email protected]>
  • Loading branch information
YI-BOYANG and haslinghuis authored Jun 26, 2024
1 parent a0cb3dc commit 7b6b24f
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions configs/GEPRCF745_BT_HD/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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)
Expand All @@ -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

0 comments on commit 7b6b24f

Please sign in to comment.