Skip to content
Merged
Show file tree
Hide file tree
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
9 changes: 9 additions & 0 deletions src/main/target/F4BY/target.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@

#define MPU6000_CS_PIN PA4
#define MPU6000_SPI_BUS BUS_SPI1
#define ICM20689_CS_PIN PA4
#define ICM20689_SPI_BUS BUS_SPI1


#define USE_ACC
#define USE_ACC_MPU6000
Expand All @@ -44,6 +47,12 @@
#define USE_GYRO_MPU6000
#define GYRO_MPU6000_ALIGN CW90_DEG

#define USE_ACC_ICM20689
#define ACC_ICM20689_ALIGN CW90_DEG

#define USE_GYRO_ICM20689
#define GYRO_ICM20689_ALIGN CW90_DEG

#define USE_MAG
#define MAG_I2C_BUS BUS_I2C2
#define MAG_HMC5883_ALIGN CW90_DEG
Expand Down
1 change: 1 addition & 0 deletions src/main/target/F4BY/target.mk
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ FEATURES += SDCARD VCP

TARGET_SRC = \
drivers/accgyro/accgyro_mpu6000.c \
drivers/accgyro/accgyro_icm20689.c \
drivers/barometer/barometer_ms56xx.c \
drivers/compass/compass_hmc5883l.c \
drivers/compass/compass_qmc5883l.c \
Expand Down