[rp2040] Fix crash handler design flaws (#14716)

This commit is contained in:
J. Nick Koston
2026-03-12 18:23:01 +13:00
committed by GitHub
parent 7f38d95424
commit f8a22b87b8
7 changed files with 43 additions and 7 deletions
+6
View File
@@ -17,6 +17,9 @@
#ifdef USE_ESP32_CRASH_HANDLER
#include "esphome/components/esp32/crash_handler.h"
#endif
#ifdef USE_RP2040_CRASH_HANDLER
#include "esphome/components/rp2040/crash_handler.h"
#endif
#include "esphome/core/entity_base.h"
#include "esphome/core/string_ref.h"
@@ -240,6 +243,9 @@ class APIConnection final : public APIServerConnectionBase {
App.schedule_dump_config();
#ifdef USE_ESP32_CRASH_HANDLER
esp32::crash_handler_log();
#endif
#ifdef USE_RP2040_CRASH_HANDLER
rp2040::crash_handler_log();
#endif
}
#ifdef USE_API_HOMEASSISTANT_SERVICES