mirror of
https://github.com/esphome/esphome.git
synced 2026-05-11 14:49:06 +08:00
82ba873ea7
The generated src/main.cpp.o was being skipped by _scan_source_symbols (which only walked src/esphome/) and _source_file_to_component had no rule for it. As a result setup()/loop() fell through to the "app_framework" heuristic in const.py instead of being counted as [esphome]core, both via the nm scan path and the linker map path. Scan all of src/ and recognize .../src/main.cpp.o as core.