Skip to content

espressif: enable USB host on Waveshare ESP32-S3-Zero and ESP32-S3-DevKitC-1-N8R8 - #12026

Open
TunalunaORG wants to merge 2 commits into
adafruit:mainfrom
TunalunaORG:s3-usb-host-boards
Open

TunalunaORG wants to merge 2 commits into
adafruit:mainfrom
TunalunaORG:s3-usb-host-boards

Conversation

@TunalunaORG

Copy link
Copy Markdown

#11948 added USB host on the ESP32-S2/S3 full-speed controller (role selected at startup from boot.py), but CIRCUITPY_USB_HOST stays 0 by default, so the published builds of these two boards do not include usb_host.

This enables it for two boards whose native USB port is usable as a host port:

  • Waveshare ESP32-S3-Zero (4 MB flash): host adds about 5 KB of flash in our earlier test builds, so it fits.
  • ESP32-S3-DevKitC-1-N8R8: the board has a separate USB-UART port for the console, so the native port is free for host use.

Device mode stays the default; nothing changes unless boot.py selects the host role.

Tested before (fork builds with the same code, November): USB CDC device on the host port of both boards, hot-plug, a hub with four devices. A build of current main with only this flag set is running on our side; I will add the result here.

This PR was prepared with AI assistance.

@tannewt

tannewt commented Dec 3, 2026

Copy link
Copy Markdown
Member

Did you change line endings? There shouldn't be so many changed lines in the diff.

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.

2 participants