From 7d4be879fa2401c15726527943f2eac15186e4c3 Mon Sep 17 00:00:00 2001 From: Tim Long Date: Fri, 1 Jan 2021 19:17:18 +0000 Subject: [PATCH 1/2] Modified ZEEZF7 target so that it can use MSP-based compass and barometer --- src/main/target/ZEEZF7/target.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/main/target/ZEEZF7/target.h b/src/main/target/ZEEZF7/target.h index f7056fc3c9e..839aeeaa1d8 100755 --- a/src/main/target/ZEEZF7/target.h +++ b/src/main/target/ZEEZF7/target.h @@ -44,6 +44,17 @@ #define USE_IMU_MPU6000 #define IMU_MPU6000_ALIGN CW180_DEG +// *************** I2C/Baro/Mag ********************* +// Target has no I2C but can use MSP devices, such as those provided on Mateksys MQ8-CAN/MSP +// Which contains: GPS SAM-M8Q, Compass QMC5883L, Barometer DPS310 +// See: http://www.mateksys.com/?portfolio=m8q-can + +#define USE_BARO +#define USE_BARO_DPS310 + +#define USE_MAG 1 +#define USE_MAG_QMC5883 + // *************** Flash **************************** #define USE_SPI_DEVICE_1 From c7508c78a7f3556b524365fced1f4a7009dfda3b Mon Sep 17 00:00:00 2001 From: Tim Long Date: Fri, 8 Jan 2021 02:41:06 +0000 Subject: [PATCH 2/2] Incorporate code review feedback --- src/main/target/ZEEZF7/target.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/target/ZEEZF7/target.h b/src/main/target/ZEEZF7/target.h index 839aeeaa1d8..558b7c59102 100755 --- a/src/main/target/ZEEZF7/target.h +++ b/src/main/target/ZEEZF7/target.h @@ -52,7 +52,7 @@ #define USE_BARO #define USE_BARO_DPS310 -#define USE_MAG 1 +#define USE_MAG #define USE_MAG_QMC5883 // *************** Flash ****************************