From a67115f67b94180791ee32eb7af96a7d488a68ad Mon Sep 17 00:00:00 2001 From: Bruce Luckcuck Date: Wed, 7 Oct 2020 13:47:22 -0400 Subject: [PATCH] Enable BMP085/BMP180 for F405 and F745 unified targets Adds support for these older devices in targets that have lots of available flash space. --- src/main/target/STM32_UNIFIED/target.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/target/STM32_UNIFIED/target.h b/src/main/target/STM32_UNIFIED/target.h index 00707e4dac..0bc564ed68 100644 --- a/src/main/target/STM32_UNIFIED/target.h +++ b/src/main/target/STM32_UNIFIED/target.h @@ -25,7 +25,9 @@ #define USBD_PRODUCT_STRING "Betaflight STM32F405" +// Additional drivers included for targets with > 512KB of flash #define USE_ACCGYRO_BMI270 +#define USE_BARO_BMP085 #define USE_I2C_DEVICE_1 #define USE_I2C_DEVICE_2 @@ -114,7 +116,9 @@ #define USBD_PRODUCT_STRING "Betaflight STM32F745" +// Additional drivers included for targets with > 512KB of flash #define USE_ACCGYRO_BMI270 +#define USE_BARO_BMP085 #define USE_I2C_DEVICE_1 #define USE_I2C_DEVICE_2