Files
PX4-Autopilot/boards
Julian Oes a201b24287 fix(boards/airbrainh743): mark I2C1 external for external compass scan (#27814)
The AirBrainH743 breaks out a single I2C bus (I2C1) that also carries the
onboard DPS310 baro and IIS2MDC mag. Because the bus was marked internal,
the external-compass autostart (which scans external buses with -X) never
probed it, so an external GPS/compass on that bus was never bound.

Mark I2C1 external so the external-mag autostart scans it, and add a
px4_i2c_device_external() override (guarded by BOARD_OVERRIDE_I2C_DEVICE_EXTERNAL)
that keeps the onboard baro and mag classified as internal. This mirrors the
approach used on fmu-v6c. The onboard baro/mag are now started explicitly by
bus and address (-X -b 1) since -I no longer matches the external bus.

Also enable the i2cdetect command, which is handy for probing the shared
external bus on this board.

Signed-off-by: Julian Oes <julian@oes.ch>
2026-07-06 13:59:39 +12:00
..
2025-01-22 14:46:24 -05:00