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

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

No files matched your search

+2
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"