Page 1 of 1

ESP32-S3 log to non-default UART pins

Posted: Tue Mar 12, 2024 5:01 am
by ihabawad
Greetings,

I am using ESP-IDF with an Adafruit Qt Py ESP32-S3, which has the following pinouts:

https://cdn-learn.adafruit.com/assets/a ... pdated.png

I would like to redirect the standard ESP_LOGI logging and other console output to use TX=GPIO5, RX=GPIO16, as per the labeling of the Qt Py.

I tried a lot of combinations of "idf.py menuconfig" and could not get it to work. I have verified, by using Arduino, that the hardware works: I can indeed log to these pins.

I would greatly appreciate if someone would list the exact "sdkconfig" settings and/or "idf.py menuconfig" actions to do this!

Thank you!

Ihab

Re: ESP32-S3 log to non-default UART pins

Posted: Tue Mar 12, 2024 5:43 am
by ESP_Sprite
It's under Component config → ESP System Settings. For 'Channel for console output', you can select 'Custom UART', and that lets you select the Tx and Rx pins.

Re: ESP32-S3 log to non-default UART pins

Posted: Tue Mar 12, 2024 5:47 am
by ihabawad
Thank you!!

Ihab