icm20948 i2c passthrough driver for ak09916 magnetometer (Here+ GPS/compass)

- include icm20948 on most boards by default
 - create more test variants for default boards near flash limit (cuav_nora_test, cuav_x7pro_test, holybro_durandal-v1_test)
This commit is contained in:
Daniel Agar
2021-04-04 21:18:16 -04:00
committed by GitHub
parent c6a0161047
commit ad934b4911
57 changed files with 1076 additions and 98 deletions

View File

@@ -117,8 +117,9 @@ fi
# probe for optional external I2C devices
if param compare SENS_EXT_I2C_PRB 1
then
icm20948_i2c_passthrough -X -q start
# compasses
ak09916 -X -R 6 -q start # external AK09916 (Here2) is rotated 270 degrees yaw
hmc5883 -T -X -q start
ist8308 -X -q start
ist8310 -X -q start
@@ -127,6 +128,9 @@ then
qmc5883l -X -q start
rm3100 -X -q start
# start last (wait for possible icm20948 passthrough mode)
ak09916 -X -q start
# differential pressure sensors
if [ ${VEHICLE_TYPE} = fw -o ${VEHICLE_TYPE} = vtol ]
then