From 1aeb04b4dc51775e297e84acfdf4ba26c37e1b3d Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Wed, 15 Apr 2026 16:09:55 -1000 Subject: [PATCH] libretiny: log nm failure reason instead of silently swallowing --- esphome/components/libretiny/patch_linker.py.script | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/esphome/components/libretiny/patch_linker.py.script b/esphome/components/libretiny/patch_linker.py.script index 183759559a..f2da6c9161 100644 --- a/esphome/components/libretiny/patch_linker.py.script +++ b/esphome/components/libretiny/patch_linker.py.script @@ -123,7 +123,8 @@ def _post_link(target, source, env): out = subprocess.check_output( [nm, "--defined-only", "--demangle", elf], text=True ) - except (OSError, subprocess.CalledProcessError): + except (OSError, subprocess.CalledProcessError) as exc: + print("ESPHome: IRAM_ATTR summary unavailable (nm failed: {})".format(exc)) return start = end = None fallback = []