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

Implementing async feature for USB Serial/JTAG peripheral. #632

Merged
merged 5 commits into from
Jul 24, 2023

Conversation

playfulFence
Copy link
Contributor

At this point we have some issues connected with esp32s3 chip, corresponding issue will be created.

@playfulFence
Copy link
Contributor Author

playfulFence commented Jul 3, 2023

Solving #633 will allow to get this merged

Copy link
Member

@jessebraham jessebraham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks quite good to me, thanks for your work here! I've left a couple small comments, but honestly nothing worth blocking merging on. If you get a chance to update them that'd be great, if not no worries. This PR will need to be rebased, though.

I think if we're blocking this PR only on the ESP32-S3 issues, that there is no real need to do so and we can merge it and then we already have an issue to remind ourselves.

esp-hal-common/src/usb_serial_jtag.rs Outdated Show resolved Hide resolved
esp-hal-common/src/usb_serial_jtag.rs Outdated Show resolved Hide resolved
@jessebraham
Copy link
Member

#633 has been resolved, so after a rebase this PR should (hopefully) be in good shape!

PS. : Yet only for esp32c3, we need to update PACs
Temporary example fix
+ Update examples according to upstream
+ Code cleaning


Rust format
@MabezDev
Copy link
Member

FYI I've patched the USB serial jtag interrupts to all be USB_DEVICE in the pacs, I'm preparing a PR to update the pacs in the hal.

Copy link
Member

@jessebraham jessebraham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems to be working based on my testing, and code looks good, so LGTM!

@playfulFence
Copy link
Contributor Author

playfulFence commented Jul 24, 2023

FYI I've patched the USB serial jtag interrupts to all be USB_DEVICE in the pacs, I'm preparing a PR to update the pacs in the hal.

Oh well, then maybe we should wait till Scott's PR will be merged, get this one to it's final clean state and then get it merged

@jessebraham jessebraham merged commit 211fc0f into esp-rs:main Jul 24, 2023
15 checks passed
playfulFence added a commit to playfulFence/esp-hal that referenced this pull request Sep 26, 2023
…s#632)

* Implementing ASYNC features for USB_SERIAL_JTAG (work in progress)

Fix: Interrupt name

* Async works for USB Serial/JTAG 

PS. : Yet only for esp32c3, we need to update PACs
Temporary example fix

* Adjustment for different chips

+ Update examples according to upstream
+ Code cleaning


Rust format

* Add record to the CHANGELOG

* Code cleaning, getting rid of useless generic argument


Typo fix


Fix fmt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants