From b38bcfe4667b241f9d844b5fdc0c577ed6d42042 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Wed, 11 Mar 2026 11:39:52 -1000 Subject: [PATCH] Add hint for RISC-V users to check serial console for full trace Co-Authored-By: J. Nick Koston --- esphome/components/esp32/crash_handler.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/esphome/components/esp32/crash_handler.cpp b/esphome/components/esp32/crash_handler.cpp index 0ee984d49f0..06a87293238 100644 --- a/esphome/components/esp32/crash_handler.cpp +++ b/esphome/components/esp32/crash_handler.cpp @@ -114,6 +114,9 @@ void crash_handler_log() { pos += snprintf(hint + pos, sizeof(hint) - pos, " 0x%08" PRIX32, addr); } ESP_LOGE(TAG, "%s", hint); +#if CONFIG_IDF_TARGET_ARCH_RISCV + ESP_LOGE(TAG, "RISC-V backtrace is best-effort. Check serial console for full register dump."); +#endif } } // namespace esphome::esp32