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

Tracking the "next" project #249

Closed
21 tasks done
jessebraham opened this issue Nov 4, 2022 · 21 comments
Closed
21 tasks done

Tracking the "next" project #249

jessebraham opened this issue Nov 4, 2022 · 21 comments
Assignees

Comments

@jessebraham
Copy link
Member

jessebraham commented Nov 4, 2022

This work is inspired largely by the same effort already undergone in esp-idf-hal, which in turn was based on the work done in embassy.

https://github.com/esp-rs/esp-idf-hal
https://github.com/embassy-rs/embassy

Development will be done in the next branch. I have added a single commit which adds some types, traits, and macros which will be required for development.

https://github.com/esp-rs/esp-hal/tree/next

This branch will be periodically rebased on main to keep it in sync as much as possible. As we're able we can merge changes into main, repeating this until the process is complete.

A number of peripherals will need their high-level interfaces re-written, though we can likely take this directly from esp-idf-hal with only minor modification. Hopefully most of the low-level code can be kept and/or adapted.

Tasks

The tasks below do not need to be completed in any particular order.

If you plan to implement the necessary updates for a peripheral please leave a comment below indicating such.

@jessebraham
Copy link
Member Author

I have previously done some work on both the UART and GPIO modules, and will get both projects cleaned up and pushed to branches soon.

@jessebraham
Copy link
Member Author

With #272 merged we have all the required building blocks to move forward with this, plus a UART implementation for reference.

@jessebraham jessebraham changed the title Tracking the "next" branch Tracking the "next" project Dec 12, 2022
@bjoernQ
Copy link
Contributor

bjoernQ commented Dec 13, 2022

For reference: #299 is a good example what needs to be done to convert a peripheral driver to the use the PeripheralRef pattern

@MabezDev
Copy link
Member

Working on SYSTIMER

@jessebraham
Copy link
Member Author

Working on I2C

@SergioGasquez
Copy link
Member

Working on USB

@jessebraham
Copy link
Member Author

Have RNG finished locally (will PR tomorrow) and then I'll tackle SHA after that.

@bjoernQ
Copy link
Contributor

bjoernQ commented Dec 14, 2022

Working on SYSTEM/DPORT

@JurajSadel
Copy link
Contributor

JurajSadel commented Dec 14, 2022

Working on ADC, RMT, I2S.

@SergioGasquez
Copy link
Member

Working on TIMG

@MabezDev
Copy link
Member

Working on LEDC ☠️

@bjoernQ
Copy link
Contributor

bjoernQ commented Dec 14, 2022

Working on ClockControl

@MabezDev
Copy link
Member

Working on MCPWM

@bjoernQ
Copy link
Contributor

bjoernQ commented Dec 14, 2022

Working on DMA

@bjoernQ
Copy link
Contributor

bjoernQ commented Dec 15, 2022

Working on USB_OTG

@bjoernQ
Copy link
Contributor

bjoernQ commented Dec 15, 2022

Working on RTC

@bjoernQ
Copy link
Contributor

bjoernQ commented Dec 15, 2022

no idea what to do about TWAI since it's not merged yet 🤷‍♂️

@bjoernQ
Copy link
Contributor

bjoernQ commented Dec 15, 2022

Looking into GPIO

@MabezDev will take over 🙏

@jessebraham
Copy link
Member Author

no idea what to do about TWAI since it's not merged yet 🤷‍♂️

I am going to try and get a test project set up for this next week so that we can get that PR merged.

@jessebraham
Copy link
Member Author

jessebraham commented Dec 19, 2022

Have I missed any peripherals in the first post? I will go through the code base later, but wouldn't mind some more eyes on it just to be sure. Pretty sure I got everything, but who knows 😁

@jessebraham
Copy link
Member Author

TWAI PR has been merged, so I suppose we're done here 😁 Thanks for the help everybody!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Status: Done
Development

No branches or pull requests

5 participants