mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-25 00:13:33 +08:00
- this is booting and functional, but still missing a few things - still needs full PWM output, verification of all sensor rotations and IO, etc
27 lines
482 B
Bash
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
|