mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
i2c: use board-specific bus numbering for '-X -b <bus>' CLI
As boards don't have their external buses labeled consistently, it was not useful to use an abstraction.
This commit is contained in:
@@ -14,4 +14,4 @@ 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
|
||||
ak09916 -X -b 1 -R 6 start # external AK09916 (Here2) is rotated 270 degrees yaw
|
||||
|
||||
@@ -14,4 +14,4 @@ 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
|
||||
ak09916 -X -b 1 -R 6 start # external AK09916 (Here2) is rotated 270 degrees yaw
|
||||
|
||||
@@ -22,4 +22,4 @@ ist8310 -I -R 10 start
|
||||
ms5611 -s start
|
||||
|
||||
# External compass on GPS1/I2C1 (the 3rd external bus): standard Holybro GPS/compass puck (with lights, safety button, and buzzer)
|
||||
ist8310 -X -b 3 -R 10 start
|
||||
ist8310 -X -b 1 -R 10 start
|
||||
|
||||
@@ -22,4 +22,4 @@ ms5611 -s start
|
||||
ist8310 -I -R 10 start
|
||||
|
||||
# External compass on GPS1/I2C1 (the 3rd external bus): standard Holybro Pixhawk 4 or CUAV V5 GPS/compass puck (with lights, safety button, and buzzer)
|
||||
ist8310 -X -b 3 -R 10 start
|
||||
ist8310 -X -b 1 -R 10 start
|
||||
|
||||
Reference in New Issue
Block a user