Skip to content

Commit 909b756

Browse files
committed
feat(esp32): USB CDC + JTAG peripheral
1 parent 1237e4c commit 909b756

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/guides/esp32.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,18 @@ You can customize the size of flash and PSRAM by adding the following attributes
149149

150150
- [ESP32 Custom flash size example](https://wokwi.com/projects/349656534768157267)
151151

152+
### USB CDC (Serial over USB) support
153+
154+
Some chips have a built-in USB CDC (Serial over USB) + JTAG peripheral. These chips include the ESP32-S3, ESP32-C3, ESP32-C6, and ESP32-H2. You can configure USB CDC support in Wokwi by adding the following attribute to the chip:
155+
156+
```json
157+
{
158+
"serialInterface": "USB_SERIAL_JTAG"
159+
}
160+
```
161+
162+
Note that you also need to remove any connections to the `$serialMonitor` pins from the `connections` section in your diagram.json file.
163+
152164
### Custom Partition Table
153165

154166
You can specifiy a custom partititon table by adding a "partitions.csv" file to your project. Check out the [ESP32 Partition Table Guide](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/partition-tables.html) for the exact format of this file.

0 commit comments

Comments
 (0)