mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-23 06:43:34 +08:00
- defconfig UART sync with cube yellow (and other boards) - manually start ak09916 (Here2) on I2C2 with proper rotation
18 lines
396 B
Bash
18 lines
396 B
Bash
#!/bin/sh
|
|
#
|
|
# Board specific sensors init
|
|
#------------------------------------------------------------------------------
|
|
adc start
|
|
|
|
# SPI1
|
|
ms5611 -s -b 1 start
|
|
icm20649 -s -b 1 start
|
|
|
|
# SPI4
|
|
ms5611 -s -b 4 start
|
|
icm20602 -s -b 4 -R 12 start
|
|
icm20948 -s -b 4 -R 10 -M start
|
|
|
|
# standard Here/Here2 connected to GPS1
|
|
ak09916 -X -b 2 -R 6 start # external AK09916 (Here2) is rotated 270 degrees yaw
|