Add support for the ICM-20602 to the Pixracer FMUv4 (#6577)

The current ICM-20608 is nearing EOL.

I have tested on both ICM-20608 and ICM-20602 based Pixracers.
This commit is contained in:
Phillip Kocmoud
2017-02-14 10:37:04 -06:00
committed by David Sidrane
parent 8c837e72be
commit ccfecd4ad2
3 changed files with 28 additions and 21 deletions

View File

@@ -193,6 +193,11 @@ then
then
fi
# Internal SPI bus ICM-20602-G is rotated 90 deg yaw
if mpu6000 -R 2 -T 20602 start
then
fi
# Start either MPU9250 or BMI160. They are both connected to the same SPI bus and use the same
# chip select pin. There are different boards with either one of them and the WHO_AM_I register
# will prevent the incorrect driver from a successful initialization.