Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support to configure ESCs with BLHeli Configurator #1170

Merged
merged 7 commits into from
Dec 16, 2022

Conversation

victorhook
Copy link
Contributor

This PR adds the ability to configure ESCs through BLHeli Configurator, which has a nicer UI than BLHeliSuite. BLHeli Configurator also runs nicely on Linux, compared to BLHeliSuite which must be used with something like wine to work.

To make the BLHeli Configurator recognize the Crazyflie, a "handshake" must first be done upon serial connection. This handshake follows the MSP extension protocol. I have reveresed engineered the protocol using BLHeli Configurator, so I'm not exactly sure which version I have really implemented.

I have tested to configure and flash the ESCs with the BOLT platform and it works OK.

Future improvements:

  1. Know what version of the MSP protocol I've implemented.
  2. Ensure that the information sent during the handshake (build version, FC name etc) is correct.
  3. Refactor some of the request-handlers in msp.c to use mspMakeTxPacket() that I have added.

Copy link
Member

@tobbeanton tobbeanton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Basic functionality is there and this is still under development. Code looks good so let's merge it to ease further development.

@tobbeanton tobbeanton merged commit e27c099 into master Dec 16, 2022
@krichardsson krichardsson added this to the 2023.02 milestone Feb 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants