[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 <noreply@anthropic.com>
This commit is contained in:
authored and GitHub committed 2026-08-23 17:25:34 -05:00
1 parent b6b23bd423
commit 47da455246
1 file changed
+1 -1
+1 -1
View File
@@ -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}