EmuFlight icon indicating copy to clipboard operation
EmuFlight copied to clipboard

[Firmware Bug Report] NewBeeDrone BeeBrainPro DSM target gyro not detected.

Open BeauBrewski opened this issue 2 years ago • 4 comments

Describe the bug BeeBrainPro DSM target is not showing gyro or accelerometer info when flashing.

To Reproduce Flash BEEBRAIN_PRO_DSM target to appropriate flight controller and connect to configurator.

Expected behavior Expect Gyro/Accelerometer to be detected.

Additional context NBD's BeeBrainPro DSM target uses a different gyro, BMI160, where the EmuFlight target only has MPU6000. Need to add if/else code for the correct gyro info.

Note: keep an eye on VTx functionality in the process.

BeauBrewski avatar Dec 06 '21 14:12 BeauBrewski

this gets the bmi160 gyro working, nothing more: https://github.com/nerdCopter/EmuFlight_nerdRepo/commit/f7c36937cd5d201a847be0a89ae48d2abcdc9d08

nerdCopter avatar Dec 06 '21 14:12 nerdCopter

I'm doing the double define trick like I did with the MATEKF411RX/CRAZYBEEF4 target. That should keep from losing compatibility with any older boards that still had MPU6000 on the DSM models.

BeauBrewski avatar Apr 13 '22 12:04 BeauBrewski

@BeauBrewski , please do your magic, thank you very much!

nerdCopter avatar Apr 13 '22 13:04 nerdCopter

Just need testers. Attempting to update Vtx drivers as well. Will submit that as a separate PR, but should hopefully get both verified once tested.

EmuFlight_0.4.0_BEEBRAIN_PRO_DSM_US_Build_2fda58b60.zip

BeauBrewski avatar Apr 13 '22 15:04 BeauBrewski

backported to 0.4.2 release assets

nerdCopter avatar May 03 '24 15:05 nerdCopter