boards: centralize optional external I2C sensor start

- configured with new parameter SENS_EXT_I2C_PRB
This commit is contained in:
Daniel Agar
2020-06-10 09:04:13 -04:00
parent 13d983d305
commit 6f6efd60b7
26 changed files with 63 additions and 217 deletions
@@ -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
+2 -17
View File
@@ -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