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:
Beat Küng
2020-09-03 13:19:54 +02:00
committed by Daniel Agar
parent fdcd9b2de1
commit 787f9c1213
8 changed files with 9 additions and 15 deletions

View File

@@ -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