Files
pyxis/lib/ble_interface/platforms
torlando-agent[bot] 21b0e964bc chore: drop bluedroid BLE backend — NimBLE is canonical
The bluedroid BLE stack hasn't been the runtime path for a while;
NimBLE-Arduino is the canonical backend (lighter heap, more modern
API, what the live ble_interface uses). The bluedroid env+code were
still being maintained as a CI matrix entry, and just started
failing on the current branch — no value to keeping it green.

Changes:
  - platformio.ini: remove the `[env:tdeck-bluedroid]` env block
    entirely (was 159 lines, near-duplicate of [env:tdeck] modulo
    `-DUSE_BLUEDROID`). Also remove the stale comment header that
    used to sit above it.
  - .github/workflows/build-check.yml: drop `tdeck-bluedroid` from
    the build matrix.
  - lib/ble_interface/platforms/BluedroidPlatform.{cpp,h} deleted
    (2 files, ~81 KB / ~2000 LOC of dead code — all gated behind
    `#if defined(USE_BLUEDROID)` which can no longer be defined).
  - lib/ble_interface/BLEPlatform.cpp: drop USE_BLUEDROID-gated
    factory branches (PlatformType::ESP_IDF case + the BluedroidPlatform.h
    include + the "Bluedroid takes priority" detection clause).

Left in place:
  - PlatformType::ESP_IDF enum member in BLETypes.h — dormant value,
    not worth a coordinated removal sweep.
  - USE_BLUEDROID build flag was already absent from [env:tdeck]'s
    flags (this env always used NimBLE in production); just no
    longer ever defined anywhere.

Build verified clean: `pio run -e tdeck` succeeds with the same
27.4% RAM / 79.8% Flash shape.
2026-05-11 09:28:27 -04:00
..