Files
bizhang_-obav/boards/intel/aerofc-v1/init/rc.board_sensors
Daniel Agar 6f6efd60b7 boards: centralize optional external I2C sensor start
- configured with new parameter SENS_EXT_I2C_PRB
2020-06-10 09:04:13 -04:00

24 lines
367 B
Bash

#!/bin/sh
#
# intel aero specific board sensors init
#------------------------------------------------------------------------------
aerofc_adc -I start
if ! ms5611 -T 5607 start
then
ms5611 start
fi
mpu9250 -s -R 0 start
ist8310 -I -R 4 start
ll40ls start -X
# Internal SPI (auto detect ms5611 or ms5607)
if ! ms5611 -T 5607 -s start
then
ms5611 -s start
fi