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

Add embedded-hal alpha and embedded-time support to MRT #289

Merged
merged 7 commits into from
Oct 19, 2020
Merged

Add embedded-hal alpha and embedded-time support to MRT #289

merged 7 commits into from
Oct 19, 2020

Conversation

hannobraun
Copy link
Member

No description provided.

This is a step in preparation for implementing the `CountDown` trait
from the alpha version of embedded-hal. These have different names
(`try_` prefix) and are fallible. Since we will most likely drop support
for the old version of embedded-hal at some point, I thought it best to
add the infallible versions as inherent methods now, instead of having
to make another change later.
I think that the library looks really nice and has the potential to
become a de-facto standard across the ecosystem.
@hannobraun
Copy link
Member Author

CI fails because embedded-time doesn't compile on nightly. See FluenTech/embedded-time#78 and rust-lang/rust#77638. Since a fix has already been merged in embedded-time, I assume it will make its way to crates.io sooner or later, and we won't have issues here.

Merging, as the PR is already approved.

@hannobraun hannobraun merged commit 6e787f8 into lpc-rs:master Oct 19, 2020
@hannobraun hannobraun deleted the mrt branch October 19, 2020 10:21
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