Skip to content

Commit

Permalink
boards/px4/fmu-v5x: rc.board_sensors fix missing Split PAB ID and FMU…
Browse files Browse the repository at this point in the history
…M backport
  • Loading branch information
dagar committed Aug 21, 2024
1 parent caa45c1 commit 1555f2b
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion boards/px4/fmu-v5x/init/rc.board_sensors
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ then
fi
fi

if ver hwbasecmp 008 009 00a 010
if ver hwbasecmp 008 009 00a 010 011
then
#SKYNODE base fmu board orientation

Expand All @@ -72,6 +72,27 @@ then
# Internal magnetometer on I2c
bmm150 -I -R 6 start

else
#FMUv5Xbase board orientation

if ver hwtypecmp V5X000 V5X001
then
# Internal SPI BMI088
bmi088 -A -R 4 -s start
bmi088 -G -R 4 -s start
else
# Internal SPI bus ICM20649
icm20649 -s -R 6 start
fi

# Internal SPI bus ICM42688p
icm42688p -R 6 -s start

# Internal SPI bus ICM-20602 (hard-mounted)
icm20602 -R 10 -s start

# Internal magnetometer on I2c
bmm150 -I start
fi

# External compass on GPS1/I2C1 (the 3rd external bus): standard Holybro Pixhawk 4 or CUAV V5 GPS/compass puck (with lights, safety button, and buzzer)
Expand Down

0 comments on commit 1555f2b

Please sign in to comment.