[core] Add esphome.build_flags option for IDF + PlatformIO (#16629)

This commit is contained in:
Jonathan Swoboda
2026-05-25 10:03:38 -04:00
committed by GitHub
parent e0167e9bdf
commit e7ab78366d
4 changed files with 15 additions and 1 deletions

View File

@@ -2,6 +2,8 @@ esphome:
debug_scheduler: true
platformio_options:
board_build.flash_mode: dio
build_flags:
- "-DESPHOME_TEST_BUILD_FLAG"
environment_variables:
TEST_ENV_VAR: "test_value"
BUILD_NUMBER: "12345"