In the pinout diagram of my 30-pin ESP32 Dev Module, only UART2 Port is free. I need to use UART1 Port. Data sheet shows that the IO lines of this port are associated with physical pin-28/29 (GPIO9/10) of ESP32 MCU). Currently, PPin-28/29 of ESP32 MCU are engaged with flash memory. The following code allows me to connect the IO pins of UART1 Port with GPIO5/18. Does Espressif agree with this relocation and do they support it to use in commercial applications?
Code: Untitled.cpp Select all
Serial1.begin(115200, SERIAL_8N1, 5, 18);