-
Notifications
You must be signed in to change notification settings - Fork 2k
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
boards: add esp32s3-pros3 support #19088
Conversation
f3b3d26
to
8ae127d
Compare
Does |
Yes. So it seems to be better to use |
Yes because it should only require a single USB cable then, right? Because Serial/JTAG is a dedicated USB port and device USB would be on another one. So if the user only has to connect to a single port for flashing and the shell, that would be more convenient. edit oh I see the board only has a single USB. |
Yeah, that's a bit tricky 😉 The ESP32S3 has two different controllers but a logic which one is routed to the D+/D- pin, see ESP32S3 TRM page 1204. On reset, the USB Serial/JTAG interface is selected by default so that you can flash and use the CDC ACM interface. If the USB OTG is initialized, the USB OTG signals are selected and the USB Serial/JTAG interface is not available any longer. |
That's interesting. But I'm mainly asking if it works on ESP32-S3 at all, I only received one in the mail today. Btw: What's still WIP here? |
8ae127d
to
c23585b
Compare
Work on this board definition has been finished. |
@benpicco I had to provide some fixes due to compilation error in Murdock:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me - please squash!
97373d8
to
22397e1
Compare
bors merge |
19088: boards: add esp32s3-pros3 support r=benpicco a=gschorcht ### Contribution description This PR provides the support for [ESP32 ProS3](https://esp32s3.com/pros3.html#home) board from Unexpected Maker. This board doesn't have a USB-to-Serial chip on board. Therefore, USB Serial/JTAG is used for STDIO and the board is flashed via the USB Seral/JTAG interface by default. ### Testing procedure Flashing `tests/shell` should work. ### Issues/PRs references 19216: drivers/mtd_sdcard: add mtd_sdcard_default module r=benpicco a=benpicco Co-authored-by: Gunar Schorcht <gunar@schorcht.net> Co-authored-by: Benjamin Valentin <benpicco@beuth-hochschule.de> Co-authored-by: Benjamin Valentin <benjamin.valentin@ml-pa.com>
Build failed (retrying...): |
19088: boards: add esp32s3-pros3 support r=benpicco a=gschorcht ### Contribution description This PR provides the support for [ESP32 ProS3](https://esp32s3.com/pros3.html#home) board from Unexpected Maker. This board doesn't have a USB-to-Serial chip on board. Therefore, USB Serial/JTAG is used for STDIO and the board is flashed via the USB Seral/JTAG interface by default. ### Testing procedure Flashing `tests/shell` should work. ### Issues/PRs references Co-authored-by: Gunar Schorcht <gunar@schorcht.net>
Build failed: |
Even if only `stdio_usb_serial_jtag` is enabled as STDIO, `usb_board_reset` is enabled since there should be a CDC ACM interface in any case. This is necessary, for example, to reset the board into bootloader if `stdio_cdc_acm` or `stdio_tinyusb_cdc_acm` was previously used.
After a reset, it can take several seconds before the CDC ACM interface becomes available as serial device `ttyACMx`. This was a change that was already made for `stdio_cdc_acm` in RIOT-OS#19128.
22397e1
to
90dc95e
Compare
bors merge |
Build succeeded: |
Thanks for reviewing and merging. |
Contribution description
This PR provides the support for ESP32 ProS3 board from Unexpected Maker.
This board doesn't have a USB-to-Serial chip on board. Therefore, USB Serial/JTAG is used for STDIO and the board is flashed via the USB Seral/JTAG interface by default.
Testing procedure
Flashing
tests/shell
should work.Issues/PRs references