From c352966d2953d23eae7ccffc68b6e65a28e4e42a Mon Sep 17 00:00:00 2001 From: Gunar Schorcht Date: Thu, 20 Dec 2018 07:57:20 +0100 Subject: [PATCH] boards/esp32: UART configuration fix Fixes the UART pin configuration for UART_DEV(0). Since this configuration is fixed and only defined for documentation purposes, the change has no impact on the code. --- boards/esp32-mh-et-live-minikit/include/periph_conf.h | 4 ++-- boards/esp32-wroom-32/include/periph_conf.h | 4 ++-- boards/esp32-wrover-kit/include/periph_conf.h | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/boards/esp32-mh-et-live-minikit/include/periph_conf.h b/boards/esp32-mh-et-live-minikit/include/periph_conf.h index 9238d2b39e..c34cc43b96 100644 --- a/boards/esp32-mh-et-live-minikit/include/periph_conf.h +++ b/boards/esp32-mh-et-live-minikit/include/periph_conf.h @@ -148,8 +148,8 @@ * * @{ */ -#define UART0_TXD GPIO10 /**< direct I/O pin for UART_DEV(0) TxD, can't be changed */ -#define UART0_RXD GPIO9 /**< direct I/O pin for UART_DEV(0) RxD, can't be changed */ +#define UART0_TXD GPIO1 /**< direct I/O pin for UART_DEV(0) TxD, can't be changed */ +#define UART0_RXD GPIO3 /**< direct I/O pin for UART_DEV(0) RxD, can't be changed */ #if FLASH_MODE_DOUT || FLASH_MODE_DIO || DOXYGEN #ifndef UART1_TXD diff --git a/boards/esp32-wroom-32/include/periph_conf.h b/boards/esp32-wroom-32/include/periph_conf.h index b61b128abf..64a1ec8ba5 100644 --- a/boards/esp32-wroom-32/include/periph_conf.h +++ b/boards/esp32-wroom-32/include/periph_conf.h @@ -179,8 +179,8 @@ extern "C" { * * @{ */ -#define UART0_TXD GPIO10 /**< direct I/O pin for UART_DEV(0) TxD, can't be changed */ -#define UART0_RXD GPIO9 /**< direct I/O pin for UART_DEV(0) RxD, can't be changed */ +#define UART0_TXD GPIO1 /**< direct I/O pin for UART_DEV(0) TxD, can't be changed */ +#define UART0_RXD GPIO3 /**< direct I/O pin for UART_DEV(0) RxD, can't be changed */ #if FLASH_MODE_DOUT || FLASH_MODE_DIO || DOXYGEN #ifndef UART1_TXD diff --git a/boards/esp32-wrover-kit/include/periph_conf.h b/boards/esp32-wrover-kit/include/periph_conf.h index ccb208d270..2aff59ee3f 100644 --- a/boards/esp32-wrover-kit/include/periph_conf.h +++ b/boards/esp32-wrover-kit/include/periph_conf.h @@ -203,8 +203,8 @@ * UART_DEV(2) is not available.
* @{ */ -#define UART0_TXD GPIO10 /**< direct I/O pin for UART_DEV(0) TxD, can't be changed */ -#define UART0_RXD GPIO9 /**< direct I/O pin for UART_DEV(0) RxD, can't be changed */ +#define UART0_TXD GPIO1 /**< direct I/O pin for UART_DEV(0) TxD, can't be changed */ +#define UART0_RXD GPIO3 /**< direct I/O pin for UART_DEV(0) RxD, can't be changed */ /** @} */