esp32/uart: Correctly init low-level UART driver for REPL.

uart_driver_install() needs to be called to set up the UART correctly.
This commit is contained in:
Andrew Leech
2022-02-24 14:20:56 +11:00
committed by Damien George
parent 2d47020e15
commit 2cc9232781
4 changed files with 51 additions and 18 deletions

View File

@@ -93,7 +93,7 @@ void mp_task(void *pvParameter) {
#elif CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG
usb_serial_jtag_init();
#else
uart_init();
uart_stdout_init();
#endif
machine_init();