-
Notifications
You must be signed in to change notification settings - Fork 251
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 TIMG
, UART
, GPIO
peripherals for all chips
#2
Comments
Thanks for your efforts - good to see something going on here 🙂 I was trying a bit with this here: https://github.com/bjoernQ/esp-hal/tree/esp32-local-pac Basically, what I was trying is to have the GPIO module living in the esp-hal-common for ESP32C3 and ESP32 (don't have access to S2, S3 currently). Not sure if that will ever work but I have at least digital IO working for ESP32 and ESP32C3 (at least blinky blinks - not tested digital input yet) I have a question btw about the evolution of the ESP32-PAC. In my fork I use the SVD from |
Thank you for working on this, it will be great to have a reasonable base to build from! I have hardware for the S2 and S3, so hopefully if you're able to get GPIO working for the ESP32 I should be able to get the aforementioned chips working too. Long story short, the All of these was done primarily to avoid breaking the existing Just to note, I have done the same fork/create |
Thanks for the clarification regarding the SVD / PAC. I noticed the fork but didn't check the actual SVD file. |
There's no rush, I appreciate the effort! If there's anything I can do to help expedite the process please let me know. |
I created a PR for the GPIO implementation in esp-hal-common: jessebraham#3 |
Regardless of our current lack of runtime support, I have begun implementing the
|
The three aforementioned peripherals are now supported by all chips. |
* implement embassy async uart read * Add embassy async read support for uart * changes based on review * fix CI failures * change review #2 * fixed re-opened PR number * changes review no.3 --------- Co-authored-by: Scott Mabin <[email protected]>
* implement embassy async uart read * Add embassy async read support for uart * changes based on review * fix CI failures * change review #2 * fixed re-opened PR number * changes review no.3 --------- Co-authored-by: Scott Mabin <[email protected]>
* implement embassy async uart read * Add embassy async read support for uart * changes based on review * fix CI failures * change review #2 * fixed re-opened PR number * changes review no.3 --------- Co-authored-by: Scott Mabin <[email protected]>
As an MVP, we should have the
TIMG
,UART
, andGPIO
peripherals implemented for each chip, with working examples. Presently this is all implemented to some degree for the ESP32-C3.The remaining chips should be able to use the
TIMG
andUART
implementations with little to no modifications.GPIO
will likely have to be device-specific.,TIMG
,UART
GPIO
,TIMG
,UART
GPIO
,TIMG
,UART
GPIO
,TIMG
,UART
GPIO
The text was updated successfully, but these errors were encountered: