diff --git a/src/main/target/CRAZYBEEF4SX1280/target.h b/src/main/target/CRAZYBEEF4SX1280/target.h index 4dafe5f487e..078a4881a0d 100644 --- a/src/main/target/CRAZYBEEF4SX1280/target.h +++ b/src/main/target/CRAZYBEEF4SX1280/target.h @@ -56,6 +56,7 @@ #define USE_ACC #define USE_ACC_SPI_MPU6000 #define USE_ACC_SPI_ICM20689 +#define USE_ACCGYRO_BMI270 // *************** OSD/FLASH ***************************** #define USE_SPI_DEVICE_2 diff --git a/src/main/target/CRAZYBEEF4SX1280/target.mk b/src/main/target/CRAZYBEEF4SX1280/target.mk index 12567d74cbe..be9b73021b2 100644 --- a/src/main/target/CRAZYBEEF4SX1280/target.mk +++ b/src/main/target/CRAZYBEEF4SX1280/target.mk @@ -4,6 +4,8 @@ FEATURES += VCP ONBOARDFLASH TARGET_SRC = \ drivers/accgyro/accgyro_spi_mpu6000.c \ drivers/accgyro/accgyro_spi_icm20689.c \ + $(ROOT)/lib/main/BoschSensortec/BMI270-Sensor-API/bmi270_maximum_fifo.c \ + drivers/accgyro/accgyro_spi_bmi270.c \ drivers/max7456.c \ drivers/vtx_rtc6705.c \ drivers/vtx_rtc6705_soft_spi.c \