boards: start adc in rc.board_sensors

This commit is contained in:
Daniel Agar 2019-11-11 15:35:59 -05:00
parent f06a6ba898
commit 668984b6b0
19 changed files with 30 additions and 6 deletions

View File

@ -14,9 +14,6 @@ then
fmu i2c 1 100000
fmu i2c 2 100000
fi
adc start
fi
###############################################################################

View File

@ -340,9 +340,9 @@ else
fi
unset BOARD_RC_SENSORS
battery_status start
sh /etc/init.d/rc.sensors
battery_status start
commander start
fi

View File

@ -3,6 +3,8 @@
# Airmind Mindpx-v2 specific board sensors init
#------------------------------------------------------------------------------
adc start
# External I2C bus
hmc5883 -C -T -X start
qmc5883 -X start

View File

@ -3,6 +3,7 @@
# AUAV/mRO x21 specific board sensors init
#------------------------------------------------------------------------------
adc start
# External I2C bus
hmc5883 -C -T -X start

View File

@ -3,6 +3,7 @@
# av_x1-v1 specific board sensors init
#------------------------------------------------------------------------------
adc start
adis16477 -R 8 start

View File

@ -3,6 +3,7 @@
# Bitcraze Crazyflie specific board sensors init
#------------------------------------------------------------------------------
adc start
# Onboard I2C
mpu9250 -R 12 start

View File

@ -3,6 +3,7 @@
# KakuteF7 specific board sensors init
#------------------------------------------------------------------------------
adc start
# The default IMU is an ICM20689, but there might also be an MPU6000
if ! mpu6000 -R 12 -s start

View File

@ -3,6 +3,7 @@
# intel aero specific board sensors init
#------------------------------------------------------------------------------
aerofc_adc start
ms5611 -T 0 start
mpu9250 -s -R 14 start
@ -11,7 +12,6 @@ mpu9250 -s -R 14 start
hmc5883 -X start
ist8310 -C -b 1 -R 4 start
aerofc_adc start
ll40ls start i2c -a

View File

@ -3,6 +3,8 @@
# ModalAI FC-v1 specific board sensors init
#------------------------------------------------------------------------------
adc start
# Start Digital power monitors
voxlpm -R start

View File

@ -3,6 +3,8 @@
# mRo Control Zero specific board sensors init
#------------------------------------------------------------------------------
adc start
# Internal ICM-20602
mpu6000 -R 10 -s -T 20602 start

View File

@ -3,6 +3,7 @@
# NXP fmuk66-v3 specific board defaults
#------------------------------------------------------------------------------
adc start
# Possible external compasses
hmc5883 -C -X start

View File

@ -3,6 +3,8 @@
# Omnibus F4SD specific board sensors init
#------------------------------------------------------------------------------
adc start
if ! mpu6000 -R 12 -s start
then
# some boards such as the Hobbywing XRotor F4 G2 use the ICM-20602

View File

@ -3,6 +3,8 @@
# PX4 FMUv2 specific board sensors init
#------------------------------------------------------------------------------
adc start
# External I2C bus
hmc5883 -C -T -X start
lis3mdl -X start

View File

@ -3,6 +3,8 @@
# PX4 FMUv3 specific board sensors init
#------------------------------------------------------------------------------
adc start
# External I2C bus
hmc5883 -C -T -X start
lis3mdl -X start

View File

@ -3,6 +3,8 @@
# PX4 FMUv4 specific board sensors init
#------------------------------------------------------------------------------
adc start
# We know there are sketchy boards out there
# as chinese companies produce Pixracers without
# fully understanding the critical parts of the

View File

@ -3,6 +3,8 @@
# PX4 FMUv4pro specific board sensors init
#------------------------------------------------------------------------------
adc start
# Internal SPI bus ICM-20608-G
mpu6000 -R 2 -T 20608 start

View File

@ -3,6 +3,8 @@
# PX4 FMUv5 specific board sensors init
#------------------------------------------------------------------------------
adc start
# Internal SPI bus ICM-20602
mpu6000 -R 8 -s -T 20602 start

View File

@ -3,6 +3,8 @@
# PX4 FMUv5X specific board sensors init
#------------------------------------------------------------------------------
adc start
# Start Digital power monitors
ina226 -b 1 start
ina226 -b 2 start

View File

@ -3,6 +3,8 @@
# UVify UVF4 specific board sensors init
#------------------------------------------------------------------------------
adc start
# Internal SPI
ms5611 -T 0 -s start