From 9035410fa9cc5050cd9158b948c9168d3050b245 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sun, 5 Apr 2026 12:33:46 -1000 Subject: [PATCH] Remove PROGMEM_STRING_TABLE mention from comment --- esphome/components/esp8266/crash_handler.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/esphome/components/esp8266/crash_handler.cpp b/esphome/components/esp8266/crash_handler.cpp index 3e62859bcbc..1f52de6529c 100644 --- a/esphome/components/esp8266/crash_handler.cpp +++ b/esphome/components/esp8266/crash_handler.cpp @@ -100,9 +100,9 @@ void crash_handler_read_and_clear() { // Xtensa exception cause names (shared with ESP32, same ISA). // Keep in sync with Xtensa ISA reference manual Table 4-64. -// Uses if-else instead of switch to avoid CSWTCH jump tables (RAM on ESP8266). -// PROGMEM_STRING_TABLE also crashes due to flash cache conflicts in API paths. -// LOG_STR strings are in flash via PSTR; if-else generates comparison branches only. +// Uses if-else with LOG_STR instead of switch to avoid CSWTCH jump tables +// (placed in RAM rodata on ESP8266). LOG_STR stores strings in flash via +// PSTR; if-else generates comparison branches with no data table. static const LogString *get_exception_cause(uint32_t cause) { if (cause == 0) return LOG_STR("IllegalInstruction");