diff --git a/esphome/components/nrf52/__init__.py b/esphome/components/nrf52/__init__.py index 2886909ea9..abfd9acabd 100644 --- a/esphome/components/nrf52/__init__.py +++ b/esphome/components/nrf52/__init__.py @@ -90,8 +90,8 @@ async def to_code(config): cg.add_platformio_option( "platform_packages", [ - "platformio/framework-zephyr@https://github.com/tomaszduda23/framework-sdk-nrf", - "platformio/toolchain-gccarmnoneeabi@https://github.com/tomaszduda23/toolchain-sdk-ng", + "platformio/framework-zephyr@https://github.com/tomaszduda23/framework-sdk-nrf/archive/refs/tags/v2.6.1.zip", + "platformio/toolchain-gccarmnoneeabi@https://github.com/tomaszduda23/toolchain-sdk-ng/archive/refs/tags/v0.16.1.zip", ], ) diff --git a/platformio.ini b/platformio.ini index 1504ce0eff..673f6db58e 100644 --- a/platformio.ini +++ b/platformio.ini @@ -186,8 +186,8 @@ build_src_flags = -include Arduino.h extends = common platform = platformio/nordicnrf52@10.3.0 platform_packages = - platformio/framework-zephyr @ https://github.com/tomaszduda23/framework-sdk-nrf - platformio/toolchain-gccarmnoneeabi@https://github.com/tomaszduda23/toolchain-sdk-ng + platformio/framework-zephyr @ https://github.com/tomaszduda23/framework-sdk-nrf/archive/refs/tags/v2.6.1.zip + platformio/toolchain-gccarmnoneeabi@https://github.com/tomaszduda23/toolchain-sdk-ng/archive/refs/tags/v0.16.1.zip build_flags = ${common.build_flags} -DUSE_ZEPHYR