Files
PX4-Autopilot/boards/cuav/x7pro/init/rc.board_sensors
T
Daniel Agar 6f6efd60b7 boards: centralize optional external I2C sensor start
- configured with new parameter SENS_EXT_I2C_PRB
2020-06-10 09:04:13 -04:00

20 lines
379 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