disable console output temporarily at runtime
Posted: Thu Jan 25, 2024 4:24 pm
I am looking for a way to use esp-idf 5.x APIs to disable the console output at runtime, temporarily for my esp32s2-based WROVER module. Ideally, during this temporary period, the pins would be in a high impedance mode so that another peripheral can use the same traces for serial transfer.
I have tried to reassign the pins used by UART0 away to some other pins using the uart_set_pin() API at runtime. However, it did not seem to have any effect since console output continued afterwards.
Any suggestions? Thank you,
Maarten
I have tried to reassign the pins used by UART0 away to some other pins using the uart_set_pin() API at runtime. However, it did not seem to have any effect since console output continued afterwards.
Any suggestions? Thank you,
Maarten