mavlink / rust-mavlink

MAVLink library for Rust.
https://mavlink.github.io/rust-mavlink/mavlink/
Apache License 2.0
158 stars 79 forks source link

Big update to embedded-hal 1.0 #241

Closed qwerty19106 closed 5 months ago

qwerty19106 commented 5 months ago

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):

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

qwerty19106 commented 5 months ago

It is ready for review.