You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by je...@apache.org on 2023/07/07 14:22:49 UTC

[nuttx] branch releases/12.2 updated: esp32s2: Fix UART1 default pins

This is an automated email from the ASF dual-hosted git repository.

jerpelea pushed a commit to branch releases/12.2
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/releases/12.2 by this push:
     new 68b67e692e esp32s2: Fix UART1 default pins
68b67e692e is described below

commit 68b67e692ee9c51c62ddad84094599a9044292df
Author: Alan Carvalho de Assis <ac...@gmail.com>
AuthorDate: Fri Jun 30 10:23:24 2023 -0300

    esp32s2: Fix UART1 default pins
    
    The default pins to UART1 should be 17 (TXD) and 18 (RXD).
---
 arch/xtensa/src/esp32s2/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/xtensa/src/esp32s2/Kconfig b/arch/xtensa/src/esp32s2/Kconfig
index f3fc318590..9fa5f828ee 100644
--- a/arch/xtensa/src/esp32s2/Kconfig
+++ b/arch/xtensa/src/esp32s2/Kconfig
@@ -602,12 +602,12 @@ if ESP32S2_UART1
 
 config ESP32S2_UART1_TXPIN
 	int "UART1 Tx Pin"
-	default 37
+	default 17
 	range 0 46
 
 config ESP32S2_UART1_RXPIN
 	int "UART1 Rx Pin"
-	default 38
+	default 18
 	range 0 46
 
 config ESP32S2_UART1_RTSPIN