static NOINSTR void core_dump_emit_char(char c, void *user_data) { struct section_ctx *ctx = (struct section_ctx *) user_data; esp_exc_putc(c); ctx->col_counter++; if (ctx->col_counter >= 160) { esp_exc_puts("\r\n"); ctx->col_counter = 0; } }
IRAM void sdk_putc(char c) { if (mgos_debug_uart_is_suspended()) return; esp_exc_putc(c); }
inline void mgos_cd_putc(int c) { esp_exc_putc(c); }