1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-25 17:25:18 +03:00

Merge pull request #9070 from iNavFlight/dzikuvx-foxeer-f7-mpu6000

Add MPU6000 and MPU6500 support to Foxeer F7 V4 target
This commit is contained in:
Paweł Spychalski 2023-05-23 09:37:33 +02:00 committed by GitHub
commit a095ee949b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -36,6 +36,16 @@
#define ICM42605_CS_PIN PB2
#define ICM42605_EXTI_PIN PC4
#define USE_IMU_MPU6000
#define IMU_MPU6000_ALIGN CW270_DEG
#define MPU6000_CS_PIN PB2
#define MPU6000_SPI_BUS BUS_SPI1
#define USE_IMU_MPU6500
#define IMU_MPU6500_ALIGN CW270_DEG
#define MPU6500_CS_PIN PB2
#define MPU6500_SPI_BUS BUS_SPI1
/*** SPI/I2C bus ***/
#define USE_SPI
#define USE_SPI_DEVICE_1