[rp2] Enable the PlatformIO precompiled header (#19824)

This commit is contained in:
J. Nick Koston
2026-09-28 19:26:51 +02:00
committed by GitHub
parent c52ce65d1c
commit 4ec8fae5df
2 changed files with 1 additions and 3 deletions
-2
View File
@@ -16,7 +16,6 @@ from esphome.const import (
PLATFORM_ESP32,
PLATFORM_LN882X,
PLATFORM_NRF52,
PLATFORM_RP2,
PLATFORM_RTL87XX,
)
from esphome.helpers import write_file_if_changed
@@ -54,7 +53,6 @@ PCH_SCRIPT_EXCLUDED_PLATFORMS = frozenset(
PLATFORM_ESP32,
PLATFORM_LN882X,
PLATFORM_NRF52,
PLATFORM_RP2,
PLATFORM_RTL87XX,
}
)
+1 -1
View File
@@ -109,7 +109,7 @@ def test_pch_checksum_tracks_closure_content(tmp_path: Path) -> None:
assert base != pch.pch_checksum(tmp_path, ["root.h"], ["id"])
@pytest.mark.parametrize("platform", ["esp8266"])
@pytest.mark.parametrize("platform", ["esp8266", "rp2"])
def test_pch_script_enabled(platform: str, monkeypatch: pytest.MonkeyPatch) -> None:
CORE.data[KEY_CORE] = {KEY_TARGET_PLATFORM: platform}
assert pch.pch_script_enabled()