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

@@ -28,6 +28,7 @@
#ifndef MICROPY_INCLUDED_ESP32_UART_H
#define MICROPY_INCLUDED_ESP32_UART_H
void uart_init(void);
void uart_stdout_init(void);
int uart_stdout_tx_strn(const char *str, size_t len);
#endif // MICROPY_INCLUDED_ESP32_UART_H