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

e-hal-v1 #172

Merged
merged 15 commits into from
Jan 19, 2025
Merged

e-hal-v1 #172

merged 15 commits into from
Jan 19, 2025

Conversation

usbalbin
Copy link
Contributor

This is a rebased version of @techmccat's #129 with the addition of 4982a32 to make syst delay work more like before

@usbalbin usbalbin changed the title E hal 1 e-hal-v1 Jan 19, 2025
examples/uart.rs Outdated

let mut cnt = 0;
loop {
match block!(usart.read()) {
match block!(embedded_hal_old::serial::Read::read(&mut usart)) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Is this needed?

Copy link
Contributor

Choose a reason for hiding this comment

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

I think it's because the name conflicts with the new trait's
We might want to switch to embedded-io altogether for the examples?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Something like this? 1b768d7

Copy link
Contributor

Choose a reason for hiding this comment

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

looks fine

@usbalbin usbalbin force-pushed the e-hal-1 branch 2 times, most recently from 9dcaba8 to 3ee9a6d Compare January 19, 2025 19:12
@usbalbin usbalbin marked this pull request as ready for review January 19, 2025 19:19
@usbalbin usbalbin merged commit c317681 into stm32-rs:main Jan 19, 2025
23 checks passed
@usbalbin
Copy link
Contributor Author

Again thanks a lot @techmccat for this! :)

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