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

Improvement of error matching necessary #74

Open
1 of 3 tasks
eldruin opened this issue Feb 2, 2022 · 0 comments
Open
1 of 3 tasks

Improvement of error matching necessary #74

eldruin opened this issue Feb 2, 2022 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@eldruin
Copy link
Member

eldruin commented Feb 2, 2022

We have merged #71 which did the heavy-lifting for updating this to embedded-hal 1.0.0-alpha.6.
However, currently we are missing the extraction of information from the underlying nix/io errors in the embedded_hal::*::Error implementations so that they can be converted to a meaningful embedded_hal::*::ErrorKind.
At the moment, converting all errors to Other would render all drivers unable to act on things like i2c::NoAcknowledge.
For this one needs to dig a bit into the Linux kernel, and so on, though.

TODO:

@eldruin eldruin added the help wanted Extra attention is needed label Feb 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant