Skip to content

Commit 700f861

Browse files
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
1 parent 524716f commit 700f861

File tree

3 files changed

+16
-2
lines changed

3 files changed

+16
-2
lines changed

MODULE.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ new_git_repository(
9898
new_git_repository(
9999
name = "btstack",
100100
build_file = "//src/rp2_common/pico_btstack:btstack.BUILD",
101-
commit = "2b49e57bd1fae85ac32ac1f41cdb7c794de335f6", # keep-in-sync-with-submodule: lib/btstack
101+
commit = "501e6d2b86e6c92bfb9c390bcf55709938e25ac1", # keep-in-sync-with-submodule: lib/btstack
102102
remote = "https://github.com/bluekitchen/btstack.git",
103103
)
104104

lib/btstack

Submodule btstack updated 444 files

src/rp2_common/pico_btstack/CMakeLists.txt

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,13 @@ if (EXISTS ${PICO_BTSTACK_PATH}/${BTSTACK_TEST_PATH})
107107
ENABLE_BLE=1
108108
)
109109

110+
# Added in v1.6.2
111+
if (EXISTS ${PICO_BTSTACK_PATH}/src/hci_event_builder.c)
112+
target_sources(pico_btstack_ble INTERFACE
113+
${PICO_BTSTACK_PATH}/src/hci_event_builder.c
114+
)
115+
endif()
116+
110117
pico_add_library(pico_btstack_classic)
111118
target_sources(pico_btstack_classic INTERFACE
112119
${PICO_BTSTACK_PATH}/src/classic/a2dp.c
@@ -161,6 +168,13 @@ if (EXISTS ${PICO_BTSTACK_PATH}/${BTSTACK_TEST_PATH})
161168
ENABLE_CLASSIC=1
162169
)
163170

171+
# Added in v1.6.2
172+
if (EXISTS ${PICO_BTSTACK_PATH}/src/classic/obex_srm_client.c)
173+
target_sources(pico_btstack_classic INTERFACE
174+
${PICO_BTSTACK_PATH}/src/classic/obex_srm_client.c
175+
)
176+
endif()
177+
164178
pico_add_library(pico_btstack_mesh)
165179
target_sources(pico_btstack_mesh INTERFACE
166180
${PICO_BTSTACK_PATH}/src/mesh/adv_bearer.c

0 commit comments

Comments
 (0)