Skip to content

ESP32-S2 2nd USB-SERIAL or more interfaces than endpoinds with static descriptor #3849

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

Closed
emard opened this issue Dec 19, 2020 · 4 comments
Closed
Milestone

Comments

@emard
Copy link

emard commented Dec 19, 2020

My basic wish is to have second USB-SERIAL device in
ESP32-S2 which will lead to hardware TX/RX lines.

I was thinking - if descriptor must be static, and list all supported
device for which same endpoints have to be shared, then
perhaps on the OS (at least linux) is possible to blacklist unneeded
drivers, so that actually endpoints will be used only by not blacklisted
drivers, and things may work. (at least in heory)

@dhalbert
Copy link
Collaborator

dhalbert commented Dec 19, 2020

I'm not quite sure what you're looking for. We have been thinking about a secondary CDC serial connection over USB. So for instance on Linux, you'd have /dev/tty/ACM0 for the REPL connection, and then also a /dev/ttyACM1 on the host side, which was a read/write stream on the Python side. But if you want hardware UART, then you want to use busio.UART.

@emard
Copy link
Author

emard commented Dec 19, 2020 via email

@ladyada
Copy link
Member

ladyada commented Dec 19, 2020

this may be a dup of
#231
?

@dhalbert
Copy link
Collaborator

I rewrote this as a more general issue in #3853 and will close this in favor of that issue.

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

No branches or pull requests

3 participants