From 68f27979b5e261e0d1135ddde1dda3f762fbffba Mon Sep 17 00:00:00 2001 From: Ray Morris Date: Mon, 8 Jun 2026 22:43:44 -0500 Subject: [PATCH] Add BMI270 support to COREWINGF405WINGV2 New board revision ships with BMI270 instead of ICM42688. Adding BMI270 defines on the same SPI1/PA4 allows a single firmware image to serve both board revisions via INAV's auto-probe at boot. --- src/main/target/COREWINGF405WINGV2/target.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/target/COREWINGF405WINGV2/target.h b/src/main/target/COREWINGF405WINGV2/target.h index 2176728d84d..e2c4f1a8ee9 100644 --- a/src/main/target/COREWINGF405WINGV2/target.h +++ b/src/main/target/COREWINGF405WINGV2/target.h @@ -102,6 +102,10 @@ #define ICM42605_CS_PIN PA4 #define ICM42605_SPI_BUS BUS_SPI1 +#define USE_IMU_BMI270 +#define IMU_BMI270_ALIGN CW270_DEG +#define BMI270_CS_PIN PA4 +#define BMI270_SPI_BUS BUS_SPI1 // Baro #define USE_BARO