Skip to content

Conversation

eldruin
Copy link
Member

@eldruin eldruin commented Oct 2, 2020

I think the stm32f1xx-hal is a good candidate for a reference implementation.
I have also updated the examples accordingly and modernized them a bit.

An additional possibility would be to remove the futures examples as well, since async handling will be different.

Closes #156

@rust-highfive
Copy link

r? @therealprof

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added S-waiting-on-review Review is incomplete T-hal labels Oct 2, 2020
Copy link
Contributor

@therealprof therealprof left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks.

bors r+

@bors
Copy link
Contributor

bors bot commented Oct 6, 2020

@bors bors bot merged commit 8d31893 into rust-embedded:master Oct 6, 2020
@eldruin eldruin deleted the update-ref-impl-and-examples branch October 6, 2020 20:06
@eldruin
Copy link
Member Author

eldruin commented Oct 6, 2020

What do you think about removing the futures-based examples? Those are even stuck on futures 0.1.

@therealprof
Copy link
Contributor

Sounds good to me.

@eldruin eldruin mentioned this pull request Oct 7, 2020
bors bot added a commit that referenced this pull request Oct 8, 2020
254: Remove futures examples r=therealprof a=eldruin

The `futures`-based examples are stuck on `futures` `0.1`, require nightly to run the tests and do not represent how asynchronous processing will be done in embedded any more.
In the `0.2.x` version these examples are still present. See [here](https://docs.rs/embedded-hal/0.2.4/embedded_hal/).
See [async/await on embedded Rust](https://ferrous-systems.com/blog/async-on-embedded/).
See #251 

Co-authored-by: Diego Barrios Romero <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Review is incomplete T-hal
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Change reference implementation to something more maintained
3 participants