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

Big update to embedded-hal 1.0 #241

Merged
merged 1 commit into from
Jun 20, 2024

Conversation

qwerty19106
Copy link
Contributor

@qwerty19106 qwerty19106 commented Jun 17, 2024

Update embedded-hal to 1.0. Use embedded_io and embedded_io_async traits.
Leave embedded-hal=0.2 support by embedded-hal-02 feature (some hals is not supports embedded-hal=1.0 yet).

Add async methods (only for embedded):

  • read_v1/2_raw_message_async
  • read_v1/2_msg_async
  • write_versioned_msg_async
  • write_v1/2_msg_async

Add full async reading and writing example with Embassy executor (embedded-async-read example).
Reduce firmware size by manually serialization (MAVLinkV1/2MessageRaw).

@qwerty19106 qwerty19106 force-pushed the embedded_async branch 2 times, most recently from 0d86643 to cb38d8a Compare June 17, 2024 15:42
Add async methods.
Add async example (Embassy executor).
@qwerty19106
Copy link
Contributor Author

It is ready for review.

@patrickelectric patrickelectric merged commit 8c342c1 into mavlink:master Jun 20, 2024
26 checks passed
@qwerty19106 qwerty19106 deleted the embedded_async branch June 24, 2024 07:54
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