disable console output temporarily at runtime

maarteneh
Posts: 3
Joined: Sun Jan 02, 2022 3:00 pm

disable console output temporarily at runtime

Postby maarteneh » 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

Who is online

Users browsing this forum: Majestic-12 [Bot] and 101 guests