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:
|
benpicco
left a comment
There was a problem hiding this comment.
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 <[email protected]> Co-authored-by: Benjamin Valentin <[email protected]> Co-authored-by: Benjamin Valentin <[email protected]>
|
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 <[email protected]>
|
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/shellshould work.Issues/PRs references