2020-08-12 13:02:16 -04:00
|
|
|
#!/bin/sh
|
|
|
|
|
#
|
|
|
|
|
# board specific sensors init
|
|
|
|
|
#------------------------------------------------------------------------------
|
2020-09-08 11:09:20 +08:00
|
|
|
board_adc start
|
2020-08-12 13:02:16 -04:00
|
|
|
|
2021-01-17 23:19:18 -05:00
|
|
|
# SPI1
|
|
|
|
|
icm20689 -s -b 1 -R 2 start
|
2020-08-12 13:02:16 -04:00
|
|
|
|
2021-01-17 23:19:18 -05:00
|
|
|
# SPI2
|
|
|
|
|
rm3100 -s -b 2 start
|
|
|
|
|
|
|
|
|
|
# SPI4
|
|
|
|
|
bmi088 -s -b 4 -A -R 2 start
|
|
|
|
|
bmi088 -s -b 4 -G -R 2 start
|
2020-08-12 13:02:16 -04:00
|
|
|
ms5611 -s -b 4 start
|
|
|
|
|
|
2021-01-17 23:19:18 -05:00
|
|
|
# SPI6
|
2021-03-22 12:15:34 -07:00
|
|
|
icm20649 -s -b 6 -R 2 start
|
2020-08-12 13:02:16 -04:00
|
|
|
ms5611 -s -b 6 start
|
2020-09-02 13:14:45 -04:00
|
|
|
|
|
|
|
|
# External compass on GPS1/I2C1: standard CUAV GPS/compass puck (with lights, safety button, and buzzer)
|
|
|
|
|
ist8310 -X -b 1 -R 10 start
|