Changing console UART from menuconfig/Component Config/ESP32-specific not working
Posted: Mon Jan 07, 2019 3:53 am
Hi.
I'm trying to select a custom console configuration using menuconfig settings. From Component Config->ESP32-Specific I am setting UART Console Output to Custom, UART Peripheral to use to UART0, TX GPIO pin to 15, and RX GPIO pin to 14. When I do this I get no console output on GPIO 15. I get no output on the standard console TX pin either after setting this configuration.
I know that these pins are correct for my hardware because I can run the UART echo example specifying those pins and loopback does work.
I can see code in the bootloader_support code that seems to do the uart_tx_switch, etc. The #ifdefs in there seem to match what I expect from the configuration I'm setting with menuconfig.
Is there anything else I should have to do? I'm sure it's not a common thing to do, but the mechanism exists and what I can see of the implementation it seems to make sense. Seems very simple just to swap the io pins -- I'm not even trying to change the uart #.
Thanks.
I'm trying to select a custom console configuration using menuconfig settings. From Component Config->ESP32-Specific I am setting UART Console Output to Custom, UART Peripheral to use to UART0, TX GPIO pin to 15, and RX GPIO pin to 14. When I do this I get no console output on GPIO 15. I get no output on the standard console TX pin either after setting this configuration.
I know that these pins are correct for my hardware because I can run the UART echo example specifying those pins and loopback does work.
I can see code in the bootloader_support code that seems to do the uart_tx_switch, etc. The #ifdefs in there seem to match what I expect from the configuration I'm setting with menuconfig.
Is there anything else I should have to do? I'm sure it's not a common thing to do, but the mechanism exists and what I can see of the implementation it seems to make sense. Seems very simple just to swap the io pins -- I'm not even trying to change the uart #.
Thanks.