mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
* [WIP] i2c_spi_buses: add '-q' for quiet startup flag And enable for optional board sensors. * ROMFS: rc.sensors try starting all optional I2C sensors quietly Co-authored-by: Daniel Agar <daniel@agar.ca>
23 lines
415 B
Bash
23 lines
415 B
Bash
#!/bin/sh
|
|
#
|
|
# PX4 FMUv5 specific board sensors init
|
|
#------------------------------------------------------------------------------
|
|
|
|
adc start
|
|
|
|
# Internal SPI bus ICM-20602
|
|
icm20602 -s -R 2 -q start
|
|
|
|
# Internal SPI bus ICM-20689
|
|
icm20689 -s -R 2 start
|
|
|
|
# Internal SPI bus BMI055 accel/gyro
|
|
bmi055 -A -R 2 -s start
|
|
bmi055 -G -R 2 -s start
|
|
|
|
# internal compass
|
|
ist8310 -I start
|
|
|
|
# Baro on internal SPI
|
|
ms5611 -s start
|