Files
bizhang_-obav/boards/holybro/durandal-v1/init/rc.board_sensors
Daniel Agar da383064c6 NuttX update with STM32H7 SPI DMA support
- holybro durdandal enable SPI DMA
2020-04-06 22:08:45 -04:00

28 lines
540 B
Bash

#!/bin/sh
#
# Holybro Durandal V1 specific board sensors init
#------------------------------------------------------------------------------
adc start
# Internal SPI bus ICM-20689
mpu6000 -R 8 -s -T 20689 start
#icm20689 -R 2 -s start
# Internal SPI bus BMI088 accel
bmi088 -A -R 10 -s start
# Internal SPI bus BMI088 gyro
bmi088 -G -R 10 -s start
# Possible external compasses
ist8310 -X start
hmc5883 -T -X start
qmc5883 -X start
lis3mdl -X start
# Possible internal compass
ist8310 -I start
# Baro on internal SPI
ms5611 -s start