DAKEFPVF722: add LSM6DXX IMU support - #11743
Conversation
Release/9.1 to master
Boards shipping under this target (e.g. JIJIE FPV Mini F722) use the LSM6DSV16X IMU, which the target did not enable. Betaflight 4.5.2 on such a board reports: board_name: DAKEFPVF722 (manufacturer_id: DAKE) GYRO=LSM6DSV16X ACC=LSM6DSV16X BARO=DPS310 Without USE_IMU_LSM6DXX the gyro is not detected under INAV and the board cannot arm. The sensor is on SPI1 with CS on PA4, identical to the other IMUs already declared here. This mirrors the sibling DAKEFPVF405 target, whose LSM6DXX block uses the exact same bus and pin.
Qodo reviews are paused for this user.Troubleshooting steps vary by plan Learn more → On a Teams plan? Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center? |
Branch Targeting SuggestionYou've targeted the
If This is an automated suggestion to help route contributions to the appropriate branch. |
There was a problem hiding this comment.
Pull request overview
Adds missing IMU driver enablement for the DAKEFPVF722 target so boards shipping with an LSM6DSV16X (detected via the shared USE_IMU_LSM6DXX driver) can successfully initialize the gyro/accel and arm under INAV.
Changes:
- Enable
USE_IMU_LSM6DXXforDAKEFPVF722. - Define LSM6DXX SPI bus/pin and alignment (SPI1 / PA4,
CW90_DEG) consistent with the target’s existing IMU wiring assumptions and the siblingDAKEFPVF405target. - Add an in-file note clarifying that LSM6DSV16X/LSM6DSK320X are covered via WHO_AM_I detection under the shared driver.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Test firmware build ready — commit Download firmware for PR #11743 1 targets built. Find your board's
|
Boards shipping under the
DAKEFPVF722target use the LSM6DSV16X IMU, which this target does not currently enable. WithoutUSE_IMU_LSM6DXXthe gyro is not detected under INAV and the board cannot arm.Hardware
The board in question is sold as "JIJIE FPV Mini F722" (a rebrand). Stock Betaflight 4.5.2 identifies it as this target and reports the IMU:
The sensor sits on SPI1 with CS on PA4 — the same bus and pin as every other IMU already declared in this target, so only the driver selection was missing.
Change
Adds the
USE_IMU_LSM6DXXblock, mirroring the siblingDAKEFPVF405target from the same manufacturer, which already declares it with the identical bus and CS pin. As the comment in that target notes, the LSM6DSV16X is handled by the sharedUSE_IMU_LSM6DXXdriver via WHO_AM_I detection.Testing
Built INAV 9.1.0 with this change and flashed the board. The gyro is now detected and initialises:
Baro, OSD (MAX7456) and the 16MB blackbox flash are all detected correctly with the existing target definitions — no other changes were needed.
Related: #10979