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

Support USB-DEVICE on ESP32-S2/S3 #226

Merged
merged 1 commit into from
Nov 2, 2022

Conversation

bjoernQ
Copy link
Contributor

@bjoernQ bjoernQ commented Oct 25, 2022

This adds support for usb-device on ESP32-S3 and ESP32-S2

The included example was successfully tested on both targets with Windows 11, Windows 10, Ubuntu 2022.10 and MacOS Big Sur.

There might be problems with later MacOS versions which are most likely not related to the driver (but maybe usb-device or usb-serial crate). That needs further investigation but I think this is good to merge, now

@jessebraham
Copy link
Member

New PACs have been published for the S2/S3.

@MabezDev
Copy link
Member

This works well for me! I guess we just need to figure out what to do with the USB otg library.

@jessebraham
Copy link
Member

(For context, I was having issues getting this working, but I think it's PEBKAC)

I think given that @MabezDev got it working it's probably fine to merge, with the exception of the synopsys dependency of course. I'll try to figure out what I've been doing wrong in the meantime.

@jessebraham jessebraham changed the title Support USB-DEVICE on ESP32-S3 Support USB-DEVICE on ESP32-S2/S3 Oct 31, 2022
@jessebraham
Copy link
Member

I've re-tested using different hardware and this is now working on both the S2 and S3 for me, using macOS Big Sur (x86_64).

@bjoernQ bjoernQ marked this pull request as ready for review November 2, 2022 10:17
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.

All good on my end, thanks again for taking care of this!

@jessebraham jessebraham merged commit a876d8d into esp-rs:main Nov 2, 2022
@bjoernQ bjoernQ deleted the feature/usb-device branch December 14, 2022 09:13
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