mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
One can use following command to compile: make omnibus_f4sd_icm20608g Co-Authored-By: berkercanatar <19846944+berkercanatar@users.noreply.github.com>
19 lines
429 B
Bash
19 lines
429 B
Bash
#!/bin/sh
|
|
#
|
|
# Omnibus F4SD specific board sensors init
|
|
#------------------------------------------------------------------------------
|
|
|
|
board_adc start
|
|
|
|
if ! mpu6000 -R 6 -s start
|
|
then
|
|
# some boards such as the Hobbywing XRotor F4 G2 use the ICM-20602
|
|
if ! icm20602 -s -R 6 start
|
|
then
|
|
# some clones of Omnibus F4 use the ICM-20608G (such as F4 PDB for Martian II FPV Drone)
|
|
icm20608g -s -R 6 start
|
|
fi
|
|
fi
|
|
|
|
bmp280 -s start
|