[esp8266] Add native toolchain that builds the Arduino core without PlatformIO (#18539)

This commit is contained in:
J. Nick Koston
2026-09-26 20:44:09 +01:00
committed by GitHub
parent 93ec8d9d95
commit 746691d5c2
17 changed files with 1641 additions and 88 deletions
-9
View File
@@ -1480,12 +1480,3 @@ async def test_add_platformio_options_native_arduino(
assert "board_build.ldscript is ignored" in caplog.text
assert "'arduino' toolchain" in caplog.text
assert "upload_speed" not in caplog.text
def test_esp8266_rejects_unsupported_cli_toolchain() -> None:
"""Until the native backend lands, ESP8266 serves only PlatformIO."""
from esphome.components.esp8266 import CONFIG_SCHEMA
CORE.toolchain = Toolchain.ARDUINO
with pytest.raises(cv.Invalid, match="Unsupported toolchain 'arduino'"):
CONFIG_SCHEMA({"board": "nodemcuv2"})