From 47da455246feeaeb5c539d760e3525b95373d673 Mon Sep 17 00:00:00 2001 From: Florian Date: Sun, 23 Aug 2026 17:25:34 -0500 Subject: [PATCH] [BLE] Fix esp32dev-ble-idf: bump esp-nimble-cpp 2.1.1 -> 2.5.0 (#2361) esp-nimble-cpp 2.1.1 no longer exists: the PlatformIO registry pruned it (2.3.2 is now the oldest available) and the upstream 2.1.1 git tag was deleted as well. Dependency resolution therefore fails before any compilation, breaking every build of esp32dev-ble-idf: UnknownPackageError: Could not find the package with 'h2zero/esp-nimble-cpp @ 2.1.1' requirements Pin 2.5.0, matching the NimBLE-Arduino 2.5.0 already used by the Arduino ESP32 environments, and reference the GitHub archive rather than the registry so future registry pruning cannot break the build again. No source changes are needed: esp32dev-ble-idf builds clean with the newer API, blufi.cpp included. Co-authored-by: Florian <1technophile@users.noreply.github.com> Co-authored-by: Claude Opus 5 --- environments.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/environments.ini b/environments.ini index ac3c070..48aa8db 100644 --- a/environments.ini +++ b/environments.ini @@ -2178,7 +2178,7 @@ board_build.embed_txtfiles = lib_deps = ${com-esp32.lib_deps} ${libraries.decoder} - h2zero/esp-nimble-cpp@2.1.1 + https://github.com/h2zero/esp-nimble-cpp/archive/2.5.0.zip h2zero/NimBLEOta@0.2.0 build_flags = ${com-esp32.build_flags}