1
0
mirror of https://github.com/raspberrypi/pico-sdk.git synced 2025-04-18 00:57:37 +03:00

Update btstack 1.6.2 (#2202)

* Update btstack

v1.6.2 plus one commit

* Update bazel for btstack

* Build changes for btstack v1.6.2
This commit is contained in:
Peter Harper 2025-01-29 15:20:42 +00:00 committed by GitHub
parent 524716f1b9
commit 700f861eac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 16 additions and 2 deletions

View File

@ -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",
)

@ -1 +1 @@
Subproject commit 2b49e57bd1fae85ac32ac1f41cdb7c794de335f6
Subproject commit 501e6d2b86e6c92bfb9c390bcf55709938e25ac1

View File

@ -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
@ -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