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

Varmint submodule #413

Merged
merged 19 commits into from
Jan 9, 2024
Merged

Varmint submodule #413

merged 19 commits into from
Jan 9, 2024

Conversation

bsutherland333
Copy link
Contributor

This pull request adds support for AeroVironment's Varmint FCU package. It is being included as a submodule to keep this repo from getting cluttered with all of ST's drivers. It uses the work that was being developed in pull request #411.

@bsutherland333 bsutherland333 self-assigned this Jan 4, 2024
@bsutherland333 bsutherland333 marked this pull request as ready for review January 4, 2024 01:00
@bsutherland333
Copy link
Contributor Author

This pull request does a few things:

  • Removes boards Airborne and Breezy, replacing them with Varmint.
  • Updates project to use CMake rather than Makefiles.
  • Adds a quality of service argument to serial_write. AeroVironment added QOS to the Varmint to improve consistency of serial communication, but to avoid adding MAVlink as a dependency to the Varmint board code, I moved declaring the QOS level to the core firmware.
  • Moved the main function from being part of the board implementation to the core firmware. Previously, a different main function was written for every board and was kept separate from the board's driver repository. To avoid needing a different main for every board and to minimize separation of board code with that board's repository, I made the the main function more general, with the only difference between each board being what board is being included and instantiated.

Initially had thought using extern was unnecessary, but due to how ST's code is structured it may be necessary.
@bsutherland333 bsutherland333 merged commit 2c56690 into main Jan 9, 2024
3 checks passed
@bsutherland333 bsutherland333 deleted the varmint-submodule branch January 9, 2024 23:10
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.

2 participants