mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-23 09:57:34 +08:00
ist8310: unify startup
This commit is contained in:
@@ -23,8 +23,8 @@ else
|
||||
bmm350 -I -R 8 start
|
||||
fi
|
||||
|
||||
# External compass on GPS1/I2C1 (the 3rd external bus): standard Holybro Pixhawk 4 or CUAV V5 GPS/compass puck (with lights, safety button, and buzzer)
|
||||
ist8310 -X -b 1 -R 10 start
|
||||
# External compass: standard Holybro Pixhawk 4 or CUAV V5 GPS/compass puck (with lights, safety button, and buzzer)
|
||||
ist8310 -X -R 10 start
|
||||
|
||||
# BARO on I2C4
|
||||
bmp388 -I -b 4 -a 0x77 start
|
||||
|
||||
@@ -30,7 +30,7 @@ icp201xx -I start
|
||||
# CUAV pwm voltage 3.3V/5V switch
|
||||
pwm_voltage_apply
|
||||
|
||||
# External compass on GPS1/I2C1: standard CUAV GPS/compass puck (with lights, safety button, and buzzer)
|
||||
ist8310 -X -b 1 -R 10 start
|
||||
# External compass: standard CUAV GPS/compass puck (with lights, safety button, and buzzer)
|
||||
ist8310 -X -R 10 start
|
||||
|
||||
netman update
|
||||
|
||||
@@ -25,5 +25,5 @@ then
|
||||
fi
|
||||
ms5611 -s -b 6 start
|
||||
|
||||
# External compass on GPS1/I2C1: standard CUAV GPS/compass puck (with lights, safety button, and buzzer)
|
||||
ist8310 -X -b 1 -R 10 start
|
||||
# External compass: standard CUAV GPS/compass puck (with lights, safety button, and buzzer)
|
||||
ist8310 -X -R 10 start
|
||||
|
||||
@@ -28,5 +28,5 @@ then
|
||||
fi
|
||||
ms5611 -s -b 6 start
|
||||
|
||||
# External compass on GPS1/I2C1: standard CUAV GPS/compass puck (with lights, safety button, and buzzer)
|
||||
ist8310 -X -b 1 -R 10 start
|
||||
# External compass: standard CUAV GPS/compass puck (with lights, safety button, and buzzer)
|
||||
ist8310 -X -R 10 start
|
||||
|
||||
@@ -29,5 +29,5 @@ ist8310 -I -R 10 start
|
||||
# Baro on internal SPI
|
||||
ms5611 -s start
|
||||
|
||||
# External compass on GPS1/I2C1: standard Holybro GPS/compass puck (with lights, safety button, and buzzer)
|
||||
ist8310 -X -b 1 -R 10 start
|
||||
# External compass: standard Holybro GPS/compass puck (with lights, safety button, and buzzer)
|
||||
ist8310 -X -R 10 start
|
||||
|
||||
@@ -21,5 +21,5 @@ ist8310 -I -R 10 start
|
||||
# Baro on internal SPI
|
||||
ms5611 -s start
|
||||
|
||||
# External compass on GPS1/I2C1 (the 3rd external bus): standard Holybro GPS/compass puck (with lights, safety button, and buzzer)
|
||||
ist8310 -X -b 1 -R 10 start
|
||||
# External compass: standard Holybro GPS/compass puck (with lights, safety button, and buzzer)
|
||||
ist8310 -X -R 10 start
|
||||
|
||||
@@ -60,8 +60,8 @@ bmi088 -G -R 2 -b 4 -s start
|
||||
# Internal magnetometer on I2c
|
||||
bmm150 -I -b 4 -R 6 -a 18 start
|
||||
|
||||
# External compass on GPS1/I2C1 (the 3rd external bus): standard Holybro Pixhawk 4 or CUAV V5 GPS/compass puck (with lights, safety button, and buzzer)
|
||||
ist8310 -X -b 1 -R 10 start
|
||||
# External compass: standard Holybro Pixhawk 4 or CUAV V5 GPS/compass puck (with lights, safety button, and buzzer)
|
||||
ist8310 -X -R 10 start
|
||||
|
||||
# Possible internal Baro
|
||||
|
||||
|
||||
@@ -27,5 +27,5 @@ ms5611 -s start
|
||||
# internal compass
|
||||
ist8310 -I -R 10 start
|
||||
|
||||
# External compass on GPS1/I2C1 (the 3rd external bus): standard Holybro Pixhawk 4 or CUAV V5 GPS/compass puck (with lights, safety button, and buzzer)
|
||||
ist8310 -X -b 1 -R 10 start
|
||||
# External compass: standard Holybro Pixhawk 4 or CUAV V5 GPS/compass puck (with lights, safety button, and buzzer)
|
||||
ist8310 -X -R 10 start
|
||||
|
||||
@@ -100,8 +100,8 @@ else
|
||||
bmm150 -I start
|
||||
fi
|
||||
|
||||
# External compass on GPS1/I2C1 (the 3rd external bus): standard Holybro Pixhawk 4 or CUAV V5 GPS/compass puck (with lights, safety button, and buzzer)
|
||||
ist8310 -X -b 1 -R 10 start
|
||||
# External compass: standard Holybro Pixhawk 4 or CUAV V5 GPS/compass puck (with lights, safety button, and buzzer)
|
||||
ist8310 -X -R 10 start
|
||||
|
||||
# Possible internal Baro
|
||||
|
||||
|
||||
@@ -149,8 +149,8 @@ else
|
||||
bmm150 -I -R 0 start
|
||||
fi
|
||||
|
||||
# External compass on GPS1/I2C1 (the 3rd external bus): standard Holybro Pixhawk 4 or CUAV V5 GPS/compass puck (with lights, safety button, and buzzer)
|
||||
ist8310 -X -b 1 -R 10 start
|
||||
# External compass: standard Holybro Pixhawk 4 or CUAV V5 GPS/compass puck (with lights, safety button, and buzzer)
|
||||
ist8310 -X -R 10 start
|
||||
|
||||
# Possible internal Baro
|
||||
if param compare SENS_INT_BARO_EN 1
|
||||
|
||||
@@ -99,8 +99,8 @@ icm42688p -R 6 -b 2 -s start
|
||||
bmm150 -I start
|
||||
|
||||
|
||||
# External compass on GPS1/I2C1 (the 3rd external bus): standard Holybro Pixhawk 4 or CUAV V5 GPS/compass puck (with lights, safety button, and buzzer)
|
||||
ist8310 -X -b 1 -R 10 start
|
||||
# External compass: standard Holybro Pixhawk 4 or CUAV V5 GPS/compass puck (with lights, safety button, and buzzer)
|
||||
ist8310 -X -R 10 start
|
||||
|
||||
# Possible internal Baro
|
||||
|
||||
|
||||
@@ -146,8 +146,8 @@ rm3100 -I -b 4 start
|
||||
# bmm150 -I -R 0 start
|
||||
# fi
|
||||
|
||||
# External compass on GPS1/I2C1 (the 3rd external bus): standard Holybro Pixhawk 4 or CUAV V5 GPS/compass puck (with lights, safety button, and buzzer)
|
||||
ist8310 -X -b 1 -R 10 start
|
||||
# External compass: standard Holybro Pixhawk 4 or CUAV V5 GPS/compass puck (with lights, safety button, and buzzer)
|
||||
ist8310 -X -R 10 start
|
||||
|
||||
# Internal compass
|
||||
ist8310 start -I -a 0x0E -R 12
|
||||
|
||||
Reference in New Issue
Block a user