Files
PX4-Autopilot/boards/cuav/x7pro/init/rc.board_sensors
T
Daniel Agar d89b7804f7 boards: initial CUAV X7Pro support (not complete)
- this is booting and functional, but still missing a few things
 - still needs full PWM output, verification of all sensor rotations and IO, etc
2020-05-01 20:59:28 -04:00

27 lines
482 B
Bash

#!/bin/sh
#
# CUAV X7Pro specific board sensors init
#------------------------------------------------------------------------------
adc start
# SPI1 (internal)
#adis16470 -s start
rm3100 -s start
icm20689 -s -R 2 start
# SPI4 (internal)
bmi088 -A -s -R 10 start
bmi088 -G -s -R 10 start
ms5611 -s -b 4 start
# SPI6 (internal)
icm20649 -s -b 6 -R 2 start
ms5611 -s -b 6 start
# Possible external compasses
ist8310 -X start
hmc5883 -T -X start
qmc5883 -X start
lis3mdl -X start