diff options
| author | Angus Gratton <angus@redyak.com.au> | 2024-07-30 10:39:47 +1000 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2024-08-14 15:58:18 +1000 |
| commit | 0a11832cddbeed57bf0267afa0c833584817312d (patch) | |
| tree | b340ba677337e19c61b5141e90f240a3085e5e99 /py/runtime_utils.c | |
| parent | fbb02d3aeeaa9da082f3ccd411d8e164a526046e (diff) | |
esp32: Use the ESP-IDF default esp_console config for ESP32-C3.
The ESP-IDF default on C3 is primary UART0, secondary USB serial/jtag.
Previously MicroPython configured the primary as USB Serial/JTAG and
manually worked with the UART0 console. However UART0 console stopped
working this way in v5.2.2.
The big change is that CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG is no longer set,
as primary console is UART0. However
CONFIG_ESP_CONSOLE_SECONDARY_USB_SERIAL_JTAG is set and IDF provides a
macro CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG_ENABLED which is set if either
primary or secondary esp_console is USB serial/jtag. So need to use that
macro instead.
This work was funded through GitHub Sponsors.
Signed-off-by: Angus Gratton <angus@redyak.com.au>
Diffstat (limited to 'py/runtime_utils.c')
0 files changed, 0 insertions, 0 deletions
