mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-02 10:31:37 +08:00
25 lines
423 B
Bash
25 lines
423 B
Bash
#!/bin/sh
|
|
#
|
|
# mRo x21 specific board sensors init
|
|
#------------------------------------------------------------------------------
|
|
|
|
adc start
|
|
|
|
# External I2C bus
|
|
hmc5883 -T -X start
|
|
lis3mdl -X start
|
|
ist8310 -X start
|
|
qmc5883 -X start
|
|
|
|
# Internal SPI bus ICM-20608-G
|
|
icm20608g -s -R 8 start
|
|
|
|
# Internal SPI bus ICM-20602
|
|
icm20602 -s -R 8 start
|
|
|
|
# Internal SPI bus mpu9250
|
|
mpu9250 -s -R 8 start
|
|
|
|
# Internal SPI
|
|
ms5611 -s start
|