-
Notifications
You must be signed in to change notification settings - Fork 216
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
Implement async
support for all applicable peripheral drivers
#361
Comments
I'll take a look at |
I'll look into |
I'll be working on SHA! |
I plan a rewrite of the RMT driver including a reasonable level of async support. (Won't be able to start on this too soon - just mentioning it here) |
Async support for USB Serial JTAG added in #632 |
Maybe it would be helpful to go through our existing drivers and figure out which are capable of asynchronous operation, then we can create a task list here to track the progress and hopefully make it easier for people to contribute. |
I'm working on |
@JurajSadel @SergioGasquez any updates on your progress? If you don't have time to work on these it might be nice to push your current efforts to a branch so somebody else could wrap it up. |
I started working on SHA, abandoned it (it was not working) for other stuff, then DMA was refactored in several ways. Today, I started reimplementing my changes from scratch using an updated base branch, here are my changes: main...SergioGasquez:esp-hal:feature/async-sha. It still not working, so I will try to work on it |
@jessebraham I have my work here: https://github.com/JurajSadel/esp-hal/tree/feature/async-aes it does something but it's not correct yet. |
I will start looking into async I2S next |
I'll implement async PARL_IO next |
Will take a look into |
I'm working on |
Just noting, the list in the original comment needs to be updated to include new peripherals on the ESP32-P4 (but this is pretty low-priority). |
I think this issue has probably outlived its usefulness, we can create issues per-driver as needed (some of these exist already). |
While we have a tracking issue for async drivers with
embedded-hal-alpha
traits (#70), we should additionally implement async drivers for peripherals which do not have traits pre-defined. We can still provide our own APIs and make these useful.As we make progress on #70 and I have a better idea of how things are looking, I will update this comment to (eventually) include a task list tracking which drivers need work.
AES
(in progress)ECC
GPIO
I2C
I2S
LEDC
MCPWM
PARL_IO
PCNT
RMT
RSA
SDMMC
SHA
SPI
TWAI
UART
USB
(ESP32-S2 & ESP32-S3)USB_SERIAL_JTAG
ieee802154
radioThe text was updated successfully, but these errors were encountered: