-
Notifications
You must be signed in to change notification settings - Fork 14
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
hl: add async #201
base: main
Are you sure you want to change the base?
hl: add async #201
Conversation
cedaf79
to
f1e20e6
Compare
Are there any updates on the async api? |
async interrupts are easy enough with the embedded-hal-async abstraction for GPIOs. Aside from that not much has been done since this PR, other projects have been taking my time away from this. |
Would you be interested in guiding me on how to finish it up? |
The async portion of this requires a significant departure from the synchronous API to be useful, and I don't have a clear enough picture in my mind of what the final product would look like to guide someone, sorry. A couple of people have messaged me on matrix about this as well, maybe they're subscribed to this issue and offer some guidance. |
Not Useful
This is not a useful implementation as-is because the interrupt line needs to be managed for true async...
Manage the interrupt line with the EHA0 GPIO traits, those should register wakers with the associated framework.
Still need to think about if mutexing for separate socket structures is (sanely) possible with async.