mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-28 05:33:34 +08:00
21 lines
376 B
Bash
21 lines
376 B
Bash
#!/bin/sh
|
|
#
|
|
# Board specific sensors init
|
|
#------------------------------------------------------------------------------
|
|
adc start
|
|
|
|
# SPI1
|
|
ms5611 -s -b 1 start
|
|
icm20649 -s -b 1 start
|
|
|
|
# SPI4
|
|
ms5611 -s -b 4 start
|
|
icm20602 -s -b 4 -R 12 start
|
|
icm20948 -s -b 4 -R 10 -M start
|
|
|
|
# Possible external compasses
|
|
ist8310 -X start
|
|
hmc5883 -T -X start
|
|
qmc5883 -X start
|
|
lis3mdl -X start
|