[esp32] Precompile the core headers for ESP-IDF source compiles (#19820)

This commit is contained in:
J. Nick Koston
2026-09-28 18:28:03 +02:00
committed by GitHub
parent 45b9c8b94c
commit 787ee418b0
12 changed files with 379 additions and 0 deletions
+7
View File
@@ -174,3 +174,10 @@ def held_lock() -> Callable[..., Callable[..., None]]:
return acquire
return make
@pytest.fixture(autouse=True)
def _default_pch_knobs(monkeypatch: pytest.MonkeyPatch) -> None:
"""The precompiled header knobs change what the generators emit; a value
exported in the developer's or CI's shell must not reach the tests."""
monkeypatch.delenv("ESPHOME_PCH_ENABLE", raising=False)