Add embedded-io v7 impls for uart#561
Merged
Merged
Conversation
Signed-off-by: Kurtis Dinelle <kdinelle@microsoft.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds embedded-io/embedded-io-async v0.7 (via aliased dependencies) trait implementations for the UART types, while keeping the existing v0.6 implementations to avoid breaking downstream users.
Changes:
- Implement
core::fmt::Displayandcore::error::Errorforuart::Error. - Add
embedded-iov0.7 andembedded-io-asyncv0.7 trait impls forUart,UartRx, andUartTx(blocking + async). - Add aliased v0.7 dependencies and update lockfiles to include both v0.6 and v0.7 versions.
Reviewed changes
Copilot reviewed 2 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/uart.rs | Adds Error formatting/Error trait impls and implements embedded-io/embedded-io-async v0.7 traits alongside existing v0.6 impls. |
| Cargo.toml | Adds aliased dependencies for embedded-io v0.7 and embedded-io-async v0.7. |
| Cargo.lock | Records the additional v0.7 embedded-io dependencies in the workspace lockfile. |
| examples/rt685s-evk/Cargo.lock | Updates example lockfile to include v0.7 embedded-io dependencies. |
| examples/rt633/Cargo.lock | Updates example lockfile to include v0.7 embedded-io dependencies. |
RobertZ2011
approved these changes
May 13, 2026
tullom
approved these changes
May 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds embedded-io v7 trait implementations for uart to support the updated
uart-servicebut keeps the existing v6 trait implementations to avoid introducing breaking changes to downstream consumers.Resolves #560