mirror of
https://github.com/esphome/esphome.git
synced 2026-09-23 04:58:38 +00:00
libretiny: log nm failure reason instead of silently swallowing
This commit is contained in:
@@ -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 = []
|
||||
|
||||
Reference in New Issue
Block a user