mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
rc.sensors: moved common ms5611 start to rc.board_sensors per board
This commit is contained in:
parent
9c6d4e28ea
commit
e3b60cd9e7
@ -15,11 +15,6 @@ then
|
||||
fmu i2c 2 100000
|
||||
fi
|
||||
|
||||
# External SPI
|
||||
ms5611 -S start
|
||||
|
||||
# Internal SPI (auto detect ms5611 or ms5607)
|
||||
ms5611 -T 0 -s start
|
||||
|
||||
adc start
|
||||
fi
|
||||
|
||||
@ -14,3 +14,6 @@ mpu6000 -s -R 8 start
|
||||
mpu9250 -s -R 8 start
|
||||
lsm303d -R 10 start
|
||||
l3gd20 -R 14 start
|
||||
|
||||
# Internal SPI
|
||||
ms5611 -s start
|
||||
|
||||
@ -18,3 +18,6 @@ mpu6000 -R 2 -T 20602 start
|
||||
|
||||
# Internal SPI bus mpu9250 is rotated 90 deg yaw
|
||||
mpu9250 -R 2 start
|
||||
|
||||
# Internal SPI
|
||||
ms5611 -s start
|
||||
|
||||
@ -24,4 +24,3 @@ ist8310 -C -b 1 start
|
||||
ist8310 -C -b 2 start
|
||||
hmc5883 -C -T -X start
|
||||
qmc5883 -X start
|
||||
|
||||
|
||||
@ -14,3 +14,6 @@ ist8310 -C -b 1 -R 4 start
|
||||
aerofc_adc start
|
||||
|
||||
ll40ls start i2c
|
||||
|
||||
# Internal SPI (auto detect ms5611 or ms5607)
|
||||
ms5611 -T 0 -s start
|
||||
|
||||
@ -14,6 +14,12 @@ hmc5883 -C -T -I -R 4 start
|
||||
# Internal SPI bus ICM-20608-G
|
||||
mpu6000 -T 20608 start
|
||||
|
||||
# External SPI
|
||||
ms5611 -S start
|
||||
|
||||
# Internal SPI (auto detect ms5611 or ms5607)
|
||||
ms5611 -T 0 -s start
|
||||
|
||||
set BOARD_FMUV3 0
|
||||
|
||||
# V3 build hwtypecmp supports V2|V2M|V30
|
||||
@ -59,6 +65,9 @@ then
|
||||
# sensor heating is available, but we disable it for now
|
||||
param set SENS_EN_THERMAL 0
|
||||
|
||||
# External SPI
|
||||
ms5611 -S start
|
||||
|
||||
# external L3GD20H is rotated 180 degrees yaw
|
||||
l3gd20 -X -R 4 start
|
||||
|
||||
|
||||
@ -15,6 +15,12 @@ hmc5883 -C -T -I -R 4 start
|
||||
# Internal SPI bus ICM-20608-G
|
||||
mpu6000 -T 20608 start
|
||||
|
||||
# External SPI
|
||||
ms5611 -S start
|
||||
|
||||
# Internal SPI (auto detect ms5611 or ms5607)
|
||||
ms5611 -T 0 -s start
|
||||
|
||||
set BOARD_FMUV3 0
|
||||
|
||||
# V3 build hwtypecmp supports V2|V2M|V30
|
||||
@ -67,6 +73,9 @@ then
|
||||
ak09916 -X -R 6 start
|
||||
fi
|
||||
|
||||
# External SPI
|
||||
ms5611 -S start
|
||||
|
||||
# external L3GD20H is rotated 180 degrees yaw
|
||||
l3gd20 -X -R 4 start
|
||||
|
||||
|
||||
@ -22,6 +22,9 @@ qmc5883 -X start
|
||||
# expansion i2c used for BMM150 rotated by 90deg
|
||||
bmm150 -X -R 2 start
|
||||
|
||||
# Internal SPI
|
||||
ms5611 -s start
|
||||
|
||||
# For Teal One airframe
|
||||
if param compare SYS_AUTOSTART 4250
|
||||
then
|
||||
|
||||
@ -21,3 +21,6 @@ qmc5883 -X start
|
||||
|
||||
# RM3100
|
||||
rm3100 start
|
||||
|
||||
# Internal SPI
|
||||
ms5611 -s start
|
||||
|
||||
@ -27,3 +27,6 @@ ist8310 -C -b 5 start
|
||||
|
||||
# Possible pmw3901 optical flow sensor
|
||||
pmw3901 start
|
||||
|
||||
# Internal SPI
|
||||
ms5611 -s start
|
||||
|
||||
@ -3,6 +3,9 @@
|
||||
# UVify UVF4 specific board sensors init
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
# Internal SPI
|
||||
ms5611 -s start
|
||||
|
||||
# Draco-R
|
||||
if param compare SYS_AUTOSTART 6002
|
||||
then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user