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

ESP32S2/S3: USB support request #46044

Open
enthunilu opened this issue May 26, 2022 · 5 comments
Open

ESP32S2/S3: USB support request #46044

enthunilu opened this issue May 26, 2022 · 5 comments
Assignees
Labels
area: USB Universal Serial Bus Enhancement Changes/Updates/Additions to existing features platform: ESP32 Espressif ESP32

Comments

@enthunilu
Copy link

Is your enhancement proposal related to a problem? Please describe.
I was trying to build webusb sample code for my esp32 dev kit.
https://github.com/zephyrproject-rtos/zephyr/tree/main/samples/subsys/usb/webusb

I was using below command,
west build -p auto -b esp_wrover_kit samples/subsys/usb/webusb

while execution I am getting linking error for usb API's as mentioned in below ticket
#45933

Steps:

Open command prompt
Go to zephyr directory
execute: west build -p auto -b esp_wrover_kit samples/subsys/usb/webusb
Check logs on console

Describe the solution you'd like
USB support should be there for ESP32 device.

Describe alternatives you've considered
I am unable to find any alternative at this moment.

@enthunilu enthunilu added the Enhancement Changes/Updates/Additions to existing features label May 26, 2022
@sylvioalves
Copy link
Collaborator

@enthunilu This sample requires some USB support to work. However, there is no support for ESP32. In fact, ESP32 has no USB port. So you would need to work with ESP32SS/S3/C3 when/if USB support is implemented.

@sylvioalves
Copy link
Collaborator

sylvioalves commented May 26, 2022

Sorry, I should not have closed this. But it might be good to update issue title to meet a proper SoC as commented previously.

@sylvioalves sylvioalves reopened this May 26, 2022
@enthunilu enthunilu changed the title ESP32: Web USB support request ESP32S2/S3/C3: Web USB support request May 26, 2022
@rftafas
Copy link

rftafas commented May 27, 2022

Just to note that ESP32-C3 contains only an USB to Serial converter. It is not a general USB peripheral/host controller and the RTOS running on C3 should expect it as another serial channel.

@enthunilu enthunilu changed the title ESP32S2/S3/C3: Web USB support request ESP32S2/S3: USB support request Jul 4, 2022
@henrikbrixandersen henrikbrixandersen added area: USB Universal Serial Bus platform: ESP32 Espressif ESP32 labels Nov 2, 2022
@ddavidebor
Copy link

+1 from me: please add USB support to Zephyr (new USB Stack) in particular regarding USB HS support on ESP32-P4

@rftafas
Copy link

rftafas commented Feb 18, 2025

Update: #85600

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: USB Universal Serial Bus Enhancement Changes/Updates/Additions to existing features platform: ESP32 Espressif ESP32
Projects
None yet
Development

No branches or pull requests

5 participants