refactor bmi088: use driver base class

This commit is contained in:
Beat Küng
2020-03-17 18:06:56 +01:00
committed by Daniel Agar
parent aad6fe6f03
commit 54da4997ad
10 changed files with 130 additions and 416 deletions
@@ -8,10 +8,10 @@ adc start
mpu6000 -R 8 -s -T 20689 start
# Internal SPI bus BMI088 accel
bmi088 -A -R 10 start
bmi088 -A -R 10 -s start
# Internal SPI bus BMI088 gyro
bmi088 -G -R 10 start
bmi088 -G -R 10 -s start
# Possible external compasses
ist8310 -X start
+2 -2
View File
@@ -16,10 +16,10 @@ mpu6000 -R 6 -s -T 20602 start
icm42688p -R 12 start
# Internal SPI bus BMI088 accel
bmi088 -A -R 4 start
bmi088 -A -R 4 -s start
# Internal SPI bus BMI088 gyro
bmi088 -G -R 4 start
bmi088 -G -R 4 -s start
# Possible external compasses
ist8310 -X start
@@ -12,10 +12,10 @@ mpu6000 -R 10 -s -T 20602 start
#icm20689 -R 10 20689 start
# Internal SPI bus BMI088 accel
bmi088 -A -R 10 start
bmi088 -A -R 10 -s start
# Internal SPI bus BMI088 gyro
bmi088 -G -R 10 start
bmi088 -G -R 10 -s start
# Interal DPS310 (barometer)
dps310 -s start
+4 -4
View File
@@ -16,10 +16,10 @@ mpu6000 -R 8 -s -T 20602 start
ism330dlc start
# Internal SPI bus BMI088 accel
bmi088 -A -R 12 start
bmi088 -A -R 12 -s start
# Internal SPI bus BMI088 gyro
bmi088 -G -R 12 start
bmi088 -G -R 12 -s start
# Possible external compasses
ist8310 -X start
@@ -36,5 +36,5 @@ bmp388 -I -a 0x77 start
# Baro on I2C3
ms5611 -X start
# External RM3100 (I2C or SPI)
rm3100 start
# External RM3100
rm3100 -X start