Skip to content

Commit

Permalink
Support MPU6000 for KakuteF7
Browse files Browse the repository at this point in the history
  • Loading branch information
jamming committed Jun 4, 2019
1 parent 7f71514 commit 898ba30
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/target/KAKUTEF7/target.h
Expand Up @@ -46,6 +46,10 @@
#define USE_GYRO
#define USE_EXTI

// MPU6000
#define USE_ACC_SPI_MPU6000
#define USE_GYRO_SPI_MPU6000

// ICM-20689
#define USE_ACC_SPI_ICM20689
#define USE_GYRO_SPI_ICM20689
Expand Down
1 change: 1 addition & 0 deletions src/main/target/KAKUTEF7/target.mk
Expand Up @@ -12,6 +12,7 @@ endif

TARGET_SRC = \
drivers/accgyro/accgyro_mpu.c \
drivers/accgyro/accgyro_spi_mpu6000.c \
drivers/accgyro/accgyro_spi_icm20689.c \
drivers/barometer/barometer_bmp280.c \
drivers/compass/compass_hmc5883l.c \
Expand Down

0 comments on commit 898ba30

Please sign in to comment.