Fix RIP bugs, add in UART

This commit is contained in:
Johnathon Slightham
2026-03-31 14:26:37 -04:00
committed by Johnathon Slightham
parent d4602012f1
commit 548e8db484
26 changed files with 704 additions and 434 deletions

View File

@@ -69,7 +69,6 @@ std::string RemoteDebugging::get_coredump_summary() {
// Panic reason
char reason[200] = {};
if (esp_core_dump_get_panic_reason(reason, sizeof(reason)) == ESP_OK) {
ESP_LOGI(TAG, "Panic reason: %s", reason);
out += "Panic reason: ";
out += reason;
out += "\n";
@@ -88,8 +87,6 @@ std::string RemoteDebugging::get_coredump_summary() {
summary->ex_info.exc_vaddr);
out += line;
ESP_LOGI(TAG, "%s", line);
// Backtrace
out += "Backtrace:";
for (uint32_t i = 0; i < summary->exc_bt_info.depth && i < 16; i++) {
@@ -102,8 +99,6 @@ std::string RemoteDebugging::get_coredump_summary() {
}
out += "\n";
ESP_LOGI(TAG, "Backtrace: %s", out);
free(summary);
return out;
}