esp_rom_install_channel_putc() function
esp_rom_printf can print message to different channels simultaneously. This function can help install the low level putc function for esp_rom_printf.
Syntax
void esp_rom_install_channel_putc(int channel,
void (*putc)(char c));
Arguments
channel
Channel number (starting from 1)
putc
Function pointer to the putc implementation. Set NULL can disconnect esp_rom_printf with putc.