mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-26 18:48:30 -04:00
HAL_ChibiOS: convert more boards to use BARO specifier
This commit is contained in:
parent
60a6f1b04a
commit
72494788f7
@ -315,7 +315,8 @@ define HAL_WITH_RAMTRON 1
|
||||
# allow to have have a dedicated safety switch pin
|
||||
define HAL_HAVE_SAFETY_SWITCH 1
|
||||
|
||||
define HAL_BARO_DEFAULT HAL_BARO_MS5611_SPI
|
||||
# one baro
|
||||
BARO MS56XX SPI:ms5611
|
||||
|
||||
define HAL_COMPASS_DEFAULT HAL_COMPASS_NONE
|
||||
define HAL_COMPASS_AUTO_ROT_DEFAULT 2
|
||||
|
@ -135,7 +135,8 @@ define HAL_PROBE_EXTERNAL_I2C_COMPASSES
|
||||
define HAL_I2C_INTERNAL_MASK 0
|
||||
define HAL_COMPASS_AUTO_ROT_DEFAULT 2
|
||||
|
||||
define HAL_BARO_DEFAULT HAL_BARO_BMP280_SPI
|
||||
# one baro
|
||||
BARO BMP280 SPI:bmp280
|
||||
|
||||
define OSD_ENABLED ENABLED
|
||||
define HAL_OSD_TYPE_DEFAULT 1
|
||||
|
@ -312,7 +312,8 @@ define HAL_WITH_RAMTRON 1
|
||||
# allow to have have a dedicated safety switch pin
|
||||
define HAL_HAVE_SAFETY_SWITCH 1
|
||||
|
||||
define HAL_BARO_DEFAULT HAL_BARO_MS5611_SPI
|
||||
# one baro
|
||||
BARO MS56XX SPI:ms5611
|
||||
|
||||
define HAL_COMPASS_DEFAULT HAL_COMPASS_NONE
|
||||
define HAL_COMPASS_AUTO_ROT_DEFAULT 2
|
||||
|
@ -117,7 +117,8 @@ SPIDEV mpu6000 SPI1 DEVID1 MPU6500_CS MODE3 1*MHZ 8*MHZ
|
||||
SPIDEV lps22h SPI2 DEVID3 LPS22HB_CS MODE3 1*MHZ 10*MHZ
|
||||
SPIDEV ramtron SPI2 DEVID4 FRAM_CS MODE3 8*MHZ 8*MHZ
|
||||
|
||||
define HAL_BARO_DEFAULT HAL_BARO_LPS22H_SPI
|
||||
# one baro
|
||||
BARO LPS2XH SPI:lps22h
|
||||
|
||||
# one IMU
|
||||
IMU Invensense SPI:mpu6000 ROTATION_PITCH_180
|
||||
|
Loading…
Reference in New Issue
Block a user