Closed Sonic-Amiga closed 1 year ago
The pollution comes from two facts:
ESP_LOGI (TAG, "Starting UART%s", s21 ? " S21" : "");
// Shut off console log if it is using our UART
#if defined(CONFIG_ESP_CONSOLE_UART_DEFAULT) || defined(CONFIG_ESP_CONSOLE_UART_CUSTOM_NUM_0)
if (uart == UART_NUM_0) {
fflush(stdout);
esp_log_set_putchar(faikin_log_putc);
}
#endif
"Starting UART" string already comes at 2400
Despite redirection code, some serial log is still produced after serial port init. This causes delayed startup