mirror of
https://github.com/raspberrypi/pico-sdk.git
synced 2025-12-10 07:14:36 +01: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:
parent
524716f1b9
commit
700f861eac
3 changed files with 16 additions and 2 deletions
|
|
@ -98,7 +98,7 @@ new_git_repository(
|
||||||
new_git_repository(
|
new_git_repository(
|
||||||
name = "btstack",
|
name = "btstack",
|
||||||
build_file = "//src/rp2_common/pico_btstack:btstack.BUILD",
|
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",
|
remote = "https://github.com/bluekitchen/btstack.git",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
Subproject commit 2b49e57bd1fae85ac32ac1f41cdb7c794de335f6
|
Subproject commit 501e6d2b86e6c92bfb9c390bcf55709938e25ac1
|
||||||
|
|
@ -107,6 +107,13 @@ if (EXISTS ${PICO_BTSTACK_PATH}/${BTSTACK_TEST_PATH})
|
||||||
ENABLE_BLE=1
|
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)
|
pico_add_library(pico_btstack_classic)
|
||||||
target_sources(pico_btstack_classic INTERFACE
|
target_sources(pico_btstack_classic INTERFACE
|
||||||
${PICO_BTSTACK_PATH}/src/classic/a2dp.c
|
${PICO_BTSTACK_PATH}/src/classic/a2dp.c
|
||||||
|
|
@ -161,6 +168,13 @@ if (EXISTS ${PICO_BTSTACK_PATH}/${BTSTACK_TEST_PATH})
|
||||||
ENABLE_CLASSIC=1
|
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)
|
pico_add_library(pico_btstack_mesh)
|
||||||
target_sources(pico_btstack_mesh INTERFACE
|
target_sources(pico_btstack_mesh INTERFACE
|
||||||
${PICO_BTSTACK_PATH}/src/mesh/adv_bearer.c
|
${PICO_BTSTACK_PATH}/src/mesh/adv_bearer.c
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue