From 0af8705b15b9d776778121da07e500dd4afc421d Mon Sep 17 00:00:00 2001 From: Vincent Poon Date: Mon, 4 Dec 2023 11:31:58 +0800 Subject: [PATCH] Add ICM42688 to Kakutef7miniv3 target.h Holybro will use ICM42688 to replace MPU6000 on this board. --- src/main/target/KAKUTEF7MINIV3/target.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/main/target/KAKUTEF7MINIV3/target.h b/src/main/target/KAKUTEF7MINIV3/target.h index 997cad1a976..bf485ebc82b 100644 --- a/src/main/target/KAKUTEF7MINIV3/target.h +++ b/src/main/target/KAKUTEF7MINIV3/target.h @@ -88,6 +88,13 @@ #define MPU6000_SPI_BUS BUS_SPI1 #define MPU6000_CS_PIN PB2 +// ICM42688 +#define USE_IMU_ICM42605 +#define IMU_ICM42605_ALIGN CW270_DEG +#define ICM42605_SPI_BUS BUS_SPI1 +#define ICM42605_CS_PIN PB2 +#define ICM42605_EXTI_PIN PA4 + /* * Blackbox Onboard Flash */