mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-23 07:00:49 +08:00
feat(drivers/imu): add ICM-56686 driver and enable GA1 alternate IMUs Add an InvenSense ICM-56686 SPI FIFO driver (WHO_AM_I 0x08, DEVTYPE 0x39, DS-000563 v1.1 register map, 6400 Hz FIFO). It publishes the 16-bit FIFO fields at full scale (as in #28134) and passes config.external to the publishers (as in #28352). GA1 (accton-godwit): - Each internal SPI socket can hold an ICM-42688P, ICM-45686, ICM-56686 or LSM6DSV32X/LSM6DSK320X. Probe them in an if/fi chain and stop at the first one found. SPI2 is probed first so the heater binds to the heated instance. - The LSM6DSV now uses the same rotation as the Invensense parts on each socket (-R 6 on SPI2, -R 14 on SPI1), following #27625. - The ICM-42688P and ICM-45686 on SPI2 are polled instead of using DRDY, because only INT2 is routed to the MCU there. This removes the missed-DRDY counts. - Drop six drivers that nothing starts at boot (BMP388, MS5611, BMM150, MMC5983MA, MCP23009, landing target estimator). Flash use: 98.67% -> 97.52%. Tested on GA1 hardware with a v1.17-based build: SPI2 polling and the driver cleanup. Not yet tested on hardware: the ICM-56686 decode change and the LSM6DSV rotation. Assisted-by: Grok:grok-4.6 Assisted-by: Kiro:claude-opus-5.5 Signed-off-by: g945643frankie <g945643@oz.nthu.edu.tw> Co-authored-by: Farhang <46557204+farhangnaderi@users.noreply.github.com>