Skip to content

Commit

Permalink
Update btstack 1.6.2 (#2202)
Browse files Browse the repository at this point in the history
* Update btstack

v1.6.2 plus one commit

* Update bazel for btstack

* Build changes for btstack v1.6.2
  • Loading branch information
peterharperuk authored Jan 29, 2025
1 parent 524716f commit 700f861
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
2 changes: 1 addition & 1 deletion MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ new_git_repository(
new_git_repository(
name = "btstack",
build_file = "//src/rp2_common/pico_btstack:btstack.BUILD",
commit = "2b49e57bd1fae85ac32ac1f41cdb7c794de335f6", # keep-in-sync-with-submodule: lib/btstack
commit = "501e6d2b86e6c92bfb9c390bcf55709938e25ac1", # keep-in-sync-with-submodule: lib/btstack
remote = "https://github.com/bluekitchen/btstack.git",
)

Expand Down
2 changes: 1 addition & 1 deletion lib/btstack
Submodule btstack updated 444 files
14 changes: 14 additions & 0 deletions src/rp2_common/pico_btstack/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,13 @@ if (EXISTS ${PICO_BTSTACK_PATH}/${BTSTACK_TEST_PATH})
ENABLE_BLE=1
)

# Added in v1.6.2
if (EXISTS ${PICO_BTSTACK_PATH}/src/hci_event_builder.c)
target_sources(pico_btstack_ble INTERFACE
${PICO_BTSTACK_PATH}/src/hci_event_builder.c
)
endif()

pico_add_library(pico_btstack_classic)
target_sources(pico_btstack_classic INTERFACE
${PICO_BTSTACK_PATH}/src/classic/a2dp.c
Expand Down Expand Up @@ -161,6 +168,13 @@ if (EXISTS ${PICO_BTSTACK_PATH}/${BTSTACK_TEST_PATH})
ENABLE_CLASSIC=1
)

# Added in v1.6.2
if (EXISTS ${PICO_BTSTACK_PATH}/src/classic/obex_srm_client.c)
target_sources(pico_btstack_classic INTERFACE
${PICO_BTSTACK_PATH}/src/classic/obex_srm_client.c
)
endif()

pico_add_library(pico_btstack_mesh)
target_sources(pico_btstack_mesh INTERFACE
${PICO_BTSTACK_PATH}/src/mesh/adv_bearer.c
Expand Down

0 comments on commit 700f861

Please sign in to comment.