mirror of
https://github.com/raspberrypi/pico-sdk.git
synced 2026-03-14 21:19:43 +01:00
parent
429775b480
commit
dd2d122366
4 changed files with 14 additions and 4 deletions
|
|
@ -113,7 +113,7 @@ new_git_repository(
|
|||
new_git_repository(
|
||||
name = "btstack",
|
||||
build_file = "//src/rp2_common/pico_btstack:btstack.BUILD",
|
||||
commit = "501e6d2b86e6c92bfb9c390bcf55709938e25ac1", # keep-in-sync-with-submodule: lib/btstack
|
||||
commit = "420dc137399796c88b0013ee09f157046018923e", # keep-in-sync-with-submodule: lib/btstack
|
||||
remote = "https://github.com/bluekitchen/btstack.git",
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 501e6d2b86e6c92bfb9c390bcf55709938e25ac1
|
||||
Subproject commit 420dc137399796c88b0013ee09f157046018923e
|
||||
|
|
@ -91,7 +91,6 @@ if (EXISTS ${PICO_BTSTACK_PATH}/${BTSTACK_TEST_PATH})
|
|||
${PICO_BTSTACK_PATH}/src/ble/gatt-service/device_information_service_server.c
|
||||
${PICO_BTSTACK_PATH}/src/ble/gatt-service/device_information_service_client.c
|
||||
${PICO_BTSTACK_PATH}/src/ble/gatt-service/heart_rate_service_server.c
|
||||
${PICO_BTSTACK_PATH}/src/ble/gatt-service/hids_client.c
|
||||
${PICO_BTSTACK_PATH}/src/ble/gatt-service/hids_device.c
|
||||
${PICO_BTSTACK_PATH}/src/ble/gatt-service/nordic_spp_service_server.c
|
||||
${PICO_BTSTACK_PATH}/src/ble/gatt-service/ublox_spp_service_server.c
|
||||
|
|
@ -115,6 +114,17 @@ if (EXISTS ${PICO_BTSTACK_PATH}/${BTSTACK_TEST_PATH})
|
|||
)
|
||||
endif()
|
||||
|
||||
# v1.8 hids_client.c renamed hids_host.c
|
||||
if (EXISTS ${PICO_BTSTACK_PATH}/src/ble/gatt-service/hids_host.c)
|
||||
target_sources(pico_btstack_ble INTERFACE
|
||||
${PICO_BTSTACK_PATH}/src/ble/gatt-service/hids_host.c
|
||||
)
|
||||
else()
|
||||
target_sources(pico_btstack_ble INTERFACE
|
||||
${PICO_BTSTACK_PATH}/src/ble/gatt-service/hids_client.c
|
||||
)
|
||||
endif()
|
||||
|
||||
pico_add_library(pico_btstack_classic)
|
||||
target_sources(pico_btstack_classic INTERFACE
|
||||
${PICO_BTSTACK_PATH}/src/classic/a2dp.c
|
||||
|
|
|
|||
|
|
@ -108,7 +108,7 @@ cc_library(
|
|||
"src/ble/gatt-service/device_information_service_server.c",
|
||||
"src/ble/gatt-service/device_information_service_client.c",
|
||||
"src/ble/gatt-service/heart_rate_service_server.c",
|
||||
"src/ble/gatt-service/hids_client.c",
|
||||
"src/ble/gatt-service/hids_host.c",
|
||||
"src/ble/gatt-service/hids_device.c",
|
||||
"src/ble/gatt-service/nordic_spp_service_server.c",
|
||||
"src/ble/gatt-service/ublox_spp_service_server.c",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue