From addda4c48fbd832c6410c65354da591bbbff4c7a Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sat, 18 Apr 2026 08:10:29 -0500 Subject: [PATCH] [esp8266] Mirror tool-esptoolpy pin in dev platformio.ini Keep local pio run -e esp8266-arduino / esp32-arduino invocations (clang-tidy, IDE) in sync with the ESPHome codegen override so they share the same installed tool-esptoolpy package. --- .clang-tidy.hash | 2 +- platformio.ini | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.clang-tidy.hash b/.clang-tidy.hash index 72a9967590..ba22a61ede 100644 --- a/.clang-tidy.hash +++ b/.clang-tidy.hash @@ -1 +1 @@ -075ed2142432dc59883bb52db8ac11270f952851d6400deae080f5468c7cb592 +b92adf594cf596ec5dd5858406c479ac258eb33f2a7517522ed89d4594a68f56 diff --git a/platformio.ini b/platformio.ini index e2c7e2b097..2bb5f40d09 100644 --- a/platformio.ini +++ b/platformio.ini @@ -105,6 +105,11 @@ extends = common:arduino platform = platformio/espressif8266@4.2.1 platform_packages = platformio/framework-arduinoespressif8266@~3.30102.0 + ; Override the ancient tool-esptoolpy ~1.30000.0 pinned by + ; platform-espressif8266 4.2.1 with the same 5.x build the pioarduino + ; ESP32 platform uses, so switching between esp8266 and esp32 builds + ; does not reinstall tool-esptoolpy every time. + pioarduino/tool-esptoolpy@https://github.com/pioarduino/registry/releases/download/0.0.1/esptoolpy-v5.2.0.zip framework = arduino lib_deps =