mirror of
https://github.com/esphome/esphome.git
synced 2026-08-31 01:56:01 +00:00
flash_mode comes from the board_build.flash_mode option the component already pins (validated by cv.one_of against the same BUILD_FLASH_MODES, now living in const.py so the two sides cannot drift), retiring KEY_FLASH_MODE from the generator. The scanf-float decision is stored in CORE.data where it is computed instead of being a discarded local, so KEY_SCANF_FLOAT has a producer in this PR. A trailing bare -include in build_src_flags fails by name instead of degrading into the source dir.