I'm programming a ESP-01 with the Espressif SDK 1.2 and I notice that when I use UART functions, the GPIO2 is enabled.
I know that there are two UART interfaces, UART0 and UART1 and that the TX of second one is tied to the GPIO2.
Is there a way to disable UART1 so I can use both UART0 (for logging and debug) and GPIO2 (to control some component) indipendently?
Any other solution will be appreciated.
Thanks in advice