From 95fbbe587bef1eb9b9246677cb5b85326de83556 Mon Sep 17 00:00:00 2001 From: MATEKSYS Date: Thu, 18 Jun 2020 22:10:53 +0800 Subject: [PATCH] HAL_ChibiOS: Add DPS310 for MatekF405-WING,F765-WING and H743 --- libraries/AP_HAL_ChibiOS/hwdef/MatekF405-Wing/hwdef.dat | 3 ++- libraries/AP_HAL_ChibiOS/hwdef/MatekF765-Wing/hwdef.dat | 3 +-- libraries/AP_HAL_ChibiOS/hwdef/MatekH743/hwdef.dat | 3 +-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/MatekF405-Wing/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/MatekF405-Wing/hwdef.dat index 6138e536c6..b73898153d 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/MatekF405-Wing/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/MatekF405-Wing/hwdef.dat @@ -147,8 +147,9 @@ SPIDEV sdcard SPI3 DEVID3 SDCARD_CS MODE0 400*KHZ 25*MHZ # one IMU IMU Invensense SPI:mpu6000 ROTATION_YAW_180 -# one baro +# one baro, multiple possible choices for different board varients BARO BMP280 I2C:0:0x76 +BARO DPS280 I2C:0:0x76 define HAL_OS_FATFS_IO 1 define HAL_BOARD_LOG_DIRECTORY "/APM/LOGS" diff --git a/libraries/AP_HAL_ChibiOS/hwdef/MatekF765-Wing/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/MatekF765-Wing/hwdef.dat index 0e7384e645..fcb9d62970 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/MatekF765-Wing/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/MatekF765-Wing/hwdef.dat @@ -187,7 +187,7 @@ define HAL_DEFAULT_INS_FAST_SAMPLE 1 # one BARO, multiple possible choices for different # board varients BARO BMP280 I2C:0:0x76 -BARO BMP388 I2C:0:0x76 +BARO DPS280 I2C:0:0x76 BARO MS56XX I2C:0:0x77 define HAL_OS_FATFS_IO 1 @@ -201,4 +201,3 @@ ROMFS_WILDCARD libraries/AP_OSD/fonts/font*.bin define BOARD_PWM_COUNT_DEFAULT 13 - diff --git a/libraries/AP_HAL_ChibiOS/hwdef/MatekH743/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/MatekH743/hwdef.dat index 0209670a60..fb6104b001 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/MatekH743/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/MatekH743/hwdef.dat @@ -200,8 +200,8 @@ define HAL_DEFAULT_INS_FAST_SAMPLE 1 # MS5611 integrated on I2C2 bus, multiple possible choices for external barometer BARO MS56XX I2C:0:0x77 +BARO DPS280 I2C:0:0x76 BARO BMP280 I2C:0:0x76 -BARO BMP388 I2C:0:0x76 define HAL_OS_FATFS_IO 1 define HAL_BOARD_LOG_DIRECTORY "/APM/LOGS" @@ -214,4 +214,3 @@ ROMFS_WILDCARD libraries/AP_OSD/fonts/font*.bin define BOARD_PWM_COUNT_DEFAULT 13 -