boards: centralize optional external I2C sensor start

- configured with new parameter SENS_EXT_I2C_PRB
This commit is contained in:
Daniel Agar
2020-06-08 10:28:38 -04:00
parent 13d983d305
commit 6f6efd60b7
26 changed files with 63 additions and 217 deletions
-14
View File
@@ -7,13 +7,6 @@ rgbled start -I
adc start
# External I2C bus
hmc5883 -T -X start
lis3mdl -X start
ist8310 -X start
qmc5883 -X start
rm3100 -X start
# Internal I2C bus
hmc5883 -T -I -R 4 start
@@ -71,13 +64,6 @@ then
# sensor heating is available, but we disable it for now
param set SENS_EN_THERMAL 0
# 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
# l3gd20 (external/isolated SPI4)
l3gd20 -s -b 4 -R 4 start
-14
View File
@@ -7,13 +7,6 @@ rgbled start -I
adc start
# External I2C bus
hmc5883 -T -X start
lis3mdl -X start
ist8310 -X start
qmc5883 -X start
rm3100 -X start
# Internal I2C bus
hmc5883 -T -I -R 4 start
@@ -71,13 +64,6 @@ then
# sensor heating is available, but we disable it for now
param set SENS_EN_THERMAL 0
# 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
# l3gd20 (external/isolated SPI4)
l3gd20 -s -b 4 -R 4 start
-8
View File
@@ -13,14 +13,6 @@ adc start
# open hardware design do not require this.
pwm_out sensor_reset 50
# External I2C bus
hmc5883 -T -X start
lis3mdl -X start
ist8310 -X start
qmc5883 -X start
rm3100 -X start
# Internal SPI
ms5611 -s start
@@ -21,10 +21,3 @@ lis3mdl -s -R 0 start
# Internal SPI
ms5611 -s start
# Possible external compasses
hmc5883 -T -X start
lis3mdl -X start
ist8310 -X start
qmc5883 -X start
rm3100 -X start
+2 -20
View File
@@ -11,30 +11,12 @@ icm20602 -s -R 2 start
# Internal SPI bus ICM-20689
icm20689 -s -R 2 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
ms5611 -s start
# External RM3100
rm3100 -X start
+1 -11
View File
@@ -15,17 +15,10 @@ icm20602 -R 2 -s start
# Internal SPI bus ISM300DLC
ism330dlc -s start
# Internal SPI bus BMI088 accel
# Internal SPI bus BMI088 accel/gyro
bmi088 -A -R 12 -s start
# Internal SPI bus BMI088 gyro
bmi088 -G -R 12 -s start
# Possible external compasses
ist8310 -X start
hmc5883 -T -X start
qmc5883 -X start
# Possible internal compass
bmm150 -I start
@@ -35,6 +28,3 @@ bmp388 -I -a 0x77 start
# Baro on I2C3
ms5611 -X start
# External RM3100
rm3100 -X start
+1 -11
View File
@@ -15,17 +15,10 @@ icm20649 -R 2 -s start
# Internal SPI bus ISM300DLC
ism330dlc -s start
# Internal SPI bus BMI088 accel
# Internal SPI bus BMI088 accel/gyro
bmi088 -A -R 12 -s start
# Internal SPI bus BMI088 gyro
bmi088 -G -R 12 -s start
# Possible external compasses
ist8310 -X start
hmc5883 -T -X start
qmc5883 -X start
# Possible internal compass
bmm150 -I start
@@ -35,6 +28,3 @@ bmp388 -I -a 0x77 start
# Baro on I2C3
ms5611 -X start
# External RM3100
rm3100 -X start