Add NimBLE integration for ESP32 BLE - #135
Draft
bash0C7 wants to merge 1 commit into
Draft
Conversation
Contributor
Author
|
https://github.com/picoruby/R2P2-ESP32/actions/runs/27085706482 |
bash0C7
force-pushed
the
r2p2-esp32-btstack-integration
branch
from
June 16, 2026 14:59
4616e90 to
e8208dd
Compare
bash0C7
added a commit
to bash0C7/R2P2-ESP32
that referenced
this pull request
Jul 24, 2026
Integration branch for stackchan-picoruby on top of the clean btstack PR (picoruby#135) base, which already carries the picoruby-ble ESP32 port via submodule (PR #427) and latest upstream/master. - build_config: add ili9342 / py32-io-expander / stackchan-protocol / scservo gems (tag v0.1.0 via branch:). stackchan-led omitted — inlined into stackchan-picoruby app/application.rb. - sdkconfigs/cores3: QUAD PSRAM overlay for CoreS3. - sdkconfig.defaults: 4MB -> 16MB flash (CoreS3). - .gitmodules: point picoruby submodule at bash0C7 fork (holds BLE port). Does NOT include the legacy main/btstack_smoke.c bring-up path; the matured picoruby-ble port supersedes it. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Compiles picoruby-ble's ESP32 port (ble.c / ble_peripheral.c / ble_central.c / nimble_owner.c) into components/picoruby-esp32, requiring ESP-IDF's built-in bt component with NimBLE enabled via a new sdkconfigs/bt_nimble fragment. No vendored host stack needed. Depends on picoruby/picoruby#427 (picoruby-ble ESP32 NimBLE port) for the submodule side; the picoruby submodule pin here is left untouched and will move once #427 merges upstream. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
bash0C7
force-pushed
the
r2p2-esp32-btstack-integration
branch
from
August 11, 2026 14:29
e8208dd to
4110398
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Wires picoruby-ble's ESP32 port into components/picoruby-esp32, using ESP-IDF's built-in NimBLE host stack (no vendored host stack needed).
ble.c/ble_peripheral.c/ble_central.c/nimble_owner.csdkconfigs/bt_nimblefragmentpicoruby-ble/picoruby-ble-uartto the xtensa build configRelated
Companion PR (picoruby-ble ESP32 NimBLE port): picoruby/picoruby#427
Depends on #427: the
picorubysubmodule pin here is left untouched for now and will be bumped once #427 merges upstream.