Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add MPU6000 and MPU6500 support to Foxeer F7 V4 target #9070

Merged
merged 1 commit into from
May 23, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions src/main/target/FOXEERF722V4/target.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down