mirror of
https://github.com/esphome/esphome.git
synced 2026-10-10 05:23:07 +00:00
Unknown or conflicting VTABLES_IN_* defines raise instead of warning and picking arbitrarily (a typo previously won the sorted pick and died in the SDK header's #error). Custom MMU sizes without the CUSTOM knob raise too: PlatformIO warns but its defaults win the compile line, while here the user's tokens would win and compile against a layout the linker script does not implement. The cached linker script is re-checked for its SECTIONS block so a truncated file regenerates, the testing-mode flash-ld read gets the same OSError guard as the gcc spawn, the ParseFlags docstring states its actual coverage, and the ld test mocks are quiet so the clean path asserts no warnings.