How to send to UART0 while in monitor?

smerrett
Posts: 1
Joined: Thu May 25, 2023 8:27 am

How to send to UART0 while in monitor?

Postby smerrett » Thu May 25, 2023 8:41 am

I would like to use UART0 as a console for input to the ESP32 devkit (using ESP-IDF in VSCODE). I can see the UART Echo example https://github.com/espressif/esp-idf/bl ... ple_main.c, which works fine on UART2 or UART1 but it breaks the monitor (boot printout on the monitor freezes when application starts to run) if I try it with UART0. The UART events example https://github.com/espressif/esp-idf/bl ... ple_main.c shows one way that UART0 can be used for input but I would rather not have to use the same queues-based approach in that example if I can use the same style of self-contained task as used in the echo example. Is this possible and what might I have to configure to get UART0 working instead of UART1 or UART2 in the code?

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 101 guests