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

Remove embedded-hal 0.2.x impls and dependency from esp-lp-hal package #2609

Merged
merged 3 commits into from
Nov 27, 2024

Conversation

playfulFence
Copy link
Contributor

@playfulFence playfulFence commented Nov 25, 2024

Pull Request Details 📖

Description

closes #2597

For LpI2c we need to implement the embedded_hal::i2c:I2c trait instead of embedded-hal 0.2.7 ones.

But for now, let's just rename current methods to match common "write"/"read" format and make them public

Testing

examples

@bugadani
Copy link
Contributor

To be fair, we may just go on with the removal without adding ehal 1.0 support in this PR.

@jessebraham
Copy link
Member

Yeah, this package is not worth investing any time into right now IMO.

@playfulFence
Copy link
Contributor Author

Ok, then let's just make those functions for LpI2c public and forget about it for now, agree!

@playfulFence playfulFence marked this pull request as ready for review November 26, 2024 17:36
Copy link
Member

@MabezDev MabezDev left a comment

Choose a reason for hiding this comment

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

Thanks!

Copy link
Member

@SergioGasquez SergioGasquez 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!

@MabezDev MabezDev added this pull request to the merge queue Nov 27, 2024
Merged via the queue into esp-rs:main with commit aeda6ac Nov 27, 2024
28 checks passed
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.

Remove eh0.2 impls and dependency from esp-lp-hal
5 participants