1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 14:25:20 +03:00

Enabled Multi Gyro on OmnibusF4 Nano V7 (#8267)

Enabled Multi Gyro on OmnibusF4 Nano V7
This commit is contained in:
Michael Keller 2019-05-18 19:03:01 +12:00 committed by mikeller
parent 5493ffceac
commit a0d1388d85
3 changed files with 14 additions and 4 deletions

View file

@ -41,16 +41,23 @@
#define USE_GYRO
#define USE_GYRO_SPI_MPU6500
#define GYRO_1_CS_PIN PD2
#define GYRO_1_SPI_INSTANCE SPI3
#define USE_GYRO_SPI_MPU6000
#define USE_ACC
#define USE_ACC_SPI_MPU6500
#define USE_ACC_SPI_MPU6000
#define GYRO_1_CS_PIN PD2
#define GYRO_1_SPI_INSTANCE SPI3
#define GYRO_1_EXTI_PIN NONE
#define GYRO_1_ALIGN CW0_DEG
#define ACC_1_ALIGN CW0_DEG
#define GYRO_2_CS_PIN PC4
#define GYRO_2_SPI_INSTANCE SPI1
#define GYRO_2_EXTI_PIN NONE
#define GYRO_2_ALIGN CW0_DEG
// *************** OSD **************************
#define USE_SPI_DEVICE_2

View file

@ -5,4 +5,5 @@ TARGET_SRC = \
drivers/accgyro/accgyro_spi_mpu6000.c \
drivers/accgyro/accgyro_mpu6500.c \
drivers/accgyro/accgyro_spi_mpu6500.c \
drivers/accgyro/accgyro_spi_icm20689.c \
drivers/max7456.c