mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-28 01:23:34 +08:00
boards: centralize optional external I2C sensor start
- configured with new parameter SENS_EXT_I2C_PRB
This commit is contained in:
@@ -5,12 +5,6 @@
|
||||
|
||||
adc start
|
||||
|
||||
# Possible external compasses
|
||||
hmc5883 -X start
|
||||
lis3mdl -X start
|
||||
ist8310 -X start
|
||||
qmc5883 -X start
|
||||
|
||||
# Internal Mag I2C bus roll 180, yaw 90
|
||||
bmm150 -I -R 10 start
|
||||
|
||||
|
||||
@@ -23,26 +23,11 @@ icm20602 -R 2 -s start
|
||||
# Internal SPI bus ICM-20689
|
||||
icm20689 -R 2 -s start
|
||||
|
||||
# Internal SPI bus BMI055 accel
|
||||
# Internal SPI bus BMI055 accel/gyro
|
||||
bmi055 -A -R 10 -s start
|
||||
|
||||
# Internal SPI bus BMI055 gyro
|
||||
bmi055 -G -R 10 -s start
|
||||
|
||||
# Possible external compasses
|
||||
ist8310 -X start
|
||||
hmc5883 -T -X start
|
||||
qmc5883 -X start
|
||||
lis3mdl -X start
|
||||
|
||||
# ICM20948 as external magnetometer on I2C (e.g. Here GPS)
|
||||
if ! icm20948 -X -R 6 start
|
||||
then
|
||||
# external emulated AK09916 (Here2) is rotated 270 degrees yaw
|
||||
ak09916 -X -R 6 start
|
||||
fi
|
||||
|
||||
# Possible internal compass
|
||||
# internal compass
|
||||
ist8310 -I start
|
||||
|
||||
# Baro on internal SPI
|
||||
|
||||
Reference in New Issue
Block a user