Gyro change

This commit is contained in:
francoisduf 2016-11-06 11:31:58 +01:00
parent 578bf914f6
commit f3690fc769
2 changed files with 7 additions and 10 deletions

View File

@ -38,18 +38,16 @@
#define MPU_INT_EXTI PC4
//MPU6500
#define MPU6500_CS_PIN PA4
#define MPU6500_SPI_INSTANCE SPI1
#define ICM20689_CS_PIN PA4
#define ICM20689_SPI_INSTANCE SPI1
#define ACC
#define USE_ACC_MPU6500
#define USE_ACC_SPI_MPU6500
#define ACC_MPU6500_ALIGN CW90_DEG
#define USE_ACC_SPI_ICM20689
#define ACC_ICM20689_ALIGN CW90_DEG
#define GYRO
#define USE_GYRO_MPU6500
#define USE_GYRO_SPI_MPU6500
#define GYRO_MPU6500_ALIGN CW90_DEG
#define USE_GYRO_SPI_ICM20689
#define GYRO_ICM20689_ALIGN CW90_DEG
#define USE_VCP
//#define VBUS_SENSING_PIN PA8

View File

@ -2,6 +2,5 @@ F405_TARGETS += $(TARGET)
FEATURES += SDCARD VCP
TARGET_SRC = \
drivers/accgyro_spi_mpu6500.c \
drivers/accgyro_mpu6500.c
drivers/accgyro_spi_icm20689.c