Skip to content

Commit

Permalink
Merge pull request #8087 from erstec/erstec-skystar-f405hd-v2
Browse files Browse the repository at this point in the history
BMI270 Gyro added for target SKYSTARSF405HD
  • Loading branch information
DzikuVx authored Jun 7, 2022
2 parents 20c2b4a + 1d8c511 commit 0dca14f
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions src/main/target/SKYSTARSF405HD/target.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,21 @@
#define SPI1_MISO_PIN PA6
#define SPI1_MOSI_PIN PA7

#define MPU6000_CS_PIN PA4
#define MPU6000_SPI_BUS BUS_SPI1

#define USE_EXTI
#define GYRO_INT_EXTI PC4
#define USE_MPU_DATA_READY_SIGNAL

#define USE_IMU_MPU6000
#define IMU_MPU6000_ALIGN CW180_DEG_FLIP
#define MPU6000_SPI_BUS BUS_SPI1
#define MPU6000_CS_PIN PA4
//#define MPU6000_EXTI_PIN GYRO_INT_EXTI

#define USE_IMU_BMI270
#define IMU_BMI270_ALIGN CW180_DEG_FLIP
#define BMI270_SPI_BUS BUS_SPI1
#define BMI270_CS_PIN PA4
#define BMI270_EXTI_PIN GYRO_INT_EXTI

// *************** M25P256 flash ********************
#define USE_FLASHFS
Expand Down

0 comments on commit 0dca14f

Please sign in to comment.