how to redirect Debug LOGs to UART1 of ESP32

bk@iot
Posts: 5
Joined: Thu May 24, 2018 12:18 pm

how to redirect Debug LOGs to UART1 of ESP32

Postby bk@iot » Sat May 26, 2018 5:02 pm

Hi Admin
I am using ESP32 with ESP-IDF v3.0. Here i have enabled all the debug LOGS. But i need these debug LOGs in UART1 of ESP32 instead of UART0.
So, is there any method or function to redirect the logs to UART1??

Thanks and Regards..

ESP_Sprite
Posts: 9711
Joined: Thu Nov 26, 2015 4:08 am

Re: how to redirect Debug LOGs to UART1 of ESP32

Postby ESP_Sprite » Sun May 27, 2018 2:04 am

make menuconfig -> component config -> ESP32-specific -> UART for console output

bk@iot
Posts: 5
Joined: Thu May 24, 2018 12:18 pm

Re: how to redirect Debug LOGs to UART1 of ESP32

Postby bk@iot » Tue May 29, 2018 7:01 am

ESP_Sprite wrote:make menuconfig -> component config -> ESP32-specific -> UART for console output
Hi @ESP_Sprite and Thanks for ur quick response..
I tried with this config settings but still am not getting it.
In my code the two UARTs are enabled and sending/receiving. So when i changed the UART Console to UART1, the ESP32 not responding through the UART. Only the Bootloader stuff are transmitting through UART0 but UART1 is not working...
So, what should i change in code to make it work??

Thank you.

Who is online

Users browsing this forum: No registered users and 73 guests