Skip to content

Commit

Permalink
[Target] JHEF411 - add ICM42688P (#925)
Browse files Browse the repository at this point in the history
JHEF411 -  add ICM42688P
  • Loading branch information
nerdCopter authored Aug 23, 2023
1 parent 9d04851 commit 43543b4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/main/target/JHEF411/target.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,13 @@
#define USE_ACC
#define USE_ACC_SPI_MPU6000
#define ACC_MPU6000_ALIGN CW180_DEG

#define USE_ACC_SPI_ICM42688P
#define USE_GYRO_SPI_ICM42688P
#define ICM42688P_CS_PIN PA4
#define ICM42688P_SPI_INSTANCE SPI1
#define ACC_ICM42688P_ALIGN CW180_DEG
#define GYRO_ICM42688P_ALIGN CW180_DEG
// *************** Baro **************************
#define USE_I2C

Expand Down
1 change: 1 addition & 0 deletions src/main/target/JHEF411/target.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ FEATURES += VCP ONBOARDFLASH
TARGET_SRC = \
drivers/accgyro/accgyro_mpu.c \
drivers/accgyro/accgyro_spi_mpu6000.c \
drivers/accgyro/accgyro_spi_icm426xx.c \
drivers/barometer/barometer_bmp085.c \
drivers/barometer/barometer_bmp280.c \
drivers/barometer/barometer_ms5611.c \
Expand Down

0 comments on commit 43543b4

Please sign in to comment.