summaryrefslogtreecommitdiff
path: root/docs/esp32/tutorial/index.rst
diff options
context:
space:
mode:
authorAngus Gratton <angus@redyak.com.au>2024-08-27 16:11:32 +1000
committerAngus Gratton <angus@redyak.com.au>2024-09-03 14:28:26 +1000
commit5e692d0460a2af8225534bf7c70f56007641e96e (patch)
tree7a67b8b5912968b0a12a9a3e53695a9828429e4f /docs/esp32/tutorial/index.rst
parent6ad6297ef7524ad74ad7618e666dd35fc5e92cfe (diff)
esp32: Add MICROPY_HW_USB_CDC macro for native USB-CDC serial.
This fixes issue of ESP32-S3 switching its config over to USB serial/JTAG instead of native USB. The the existing logic was hard to follow, adding this config macro makes it easier to see which USB is in use and to have board definitions that enable/disable different USB levels. This commit also drops (nominal) support for manually setting CONFIG_ESP_CONSOLE_USB_CDC in sdkconfig. No included board configs use this and it didn't seem to work (if secondary console was set to the default USB Serial/JTAG then there is no serial output on any port, and if secondary console was set to None then linking fails.) Can be re-added if there's a use case for it. This work was funded through GitHub Sponsors. Signed-off-by: Angus Gratton <angus@redyak.com.au>
Diffstat (limited to 'docs/esp32/tutorial/index.rst')
0 files changed, 0 insertions, 0 deletions