From cfcedab76b7133645c2f37dadf1d852d11fffae1 Mon Sep 17 00:00:00 2001 From: Eren Terzioglu Date: Tue, 19 Mar 2024 14:53:49 +0300 Subject: [PATCH] arch/espressif: Fix esp32c6 strange characters on boot --- arch/risc-v/src/common/espressif/esp_lowputc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/risc-v/src/common/espressif/esp_lowputc.c b/arch/risc-v/src/common/espressif/esp_lowputc.c index 8f04e823c9..c2d07743ac 100644 --- a/arch/risc-v/src/common/espressif/esp_lowputc.c +++ b/arch/risc-v/src/common/espressif/esp_lowputc.c @@ -263,12 +263,12 @@ void esp_lowputc_config_pins(const struct esp_uart_s *priv) { /* Configure the pins */ - esp_configgpio(priv->txpin, OUTPUT); - esp_gpio_matrix_out(priv->txpin, priv->txsig, 0, 0); - esp_configgpio(priv->rxpin, INPUT | PULLUP); esp_gpio_matrix_in(priv->rxpin, priv->rxsig, 0); + esp_configgpio(priv->txpin, OUTPUT); + esp_gpio_matrix_out(priv->txpin, priv->txsig, 0, 0); + #ifdef CONFIG_SERIAL_IFLOWCONTROL if (priv->iflow) {