-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dts: Bluetooth: Add new DTS binding for the SoftDevice Controller
The SoftDevice Controller is a different controller than the open source link layer with a different set of quirks. It should therefore have its own device tree binding. This commit converts the SoftDevice Controller driver to use this new DTS binding instead of reusing the existing one. This commit updates or adds additional overlays for existing samples, applications and tests that were using the open source link layer. Updating migration guide will be done in a separate commit. Signed-off-by: Rubin Gerritsen <rubin.gerritsen@nordicsemi.no>
- Loading branch information
1 parent
3a4f7c4
commit b97558b
Showing
13 changed files
with
169 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
description: Bluetooth HCI provided by the SoftDevice Controller | ||
|
||
compatible: "nordic,bt-hci-sdc" | ||
|
||
include: bt-hci.yaml | ||
|
||
properties: | ||
bt-hci-name: | ||
default: "SDC" | ||
bt-hci-bus: | ||
default: "BT_HCI_BUS_VIRTUAL" |
24 changes: 24 additions & 0 deletions
24
samples/bluetooth/direction_finding_central/sysbuild.cmake
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# | ||
# Copyright (c) 2024 Nordic Semiconductor | ||
# | ||
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
# | ||
|
||
if(NOT SB_CONFIG_SOC_NRF5340_CPUAPP) | ||
if(NOT "bt-ll-sw-split" IN_LIST ${DEFAULT_IMAGE}_SNIPPET) | ||
list(APPEND ${DEFAULT_IMAGE}_SNIPPET ${SNIPPET}) | ||
list(APPEND ${DEFAULT_IMAGE}_SNIPPET bt-ll-sw-split) | ||
set(${DEFAULT_IMAGE}_SNIPPET ${${DEFAULT_IMAGE}_SNIPPET} CACHE STRING "" FORCE) | ||
endif() | ||
if(SB_CONFIG_SECURE_BOOT_BUILD_S1_VARIANT_IMAGE AND NOT "bt-ll-sw-split" IN_LIST s1_image_SNIPPET) | ||
list(APPEND s1_image_SNIPPET ${SNIPPET}) | ||
list(APPEND s1_image_SNIPPET bt-ll-sw-split) | ||
set(s1_image_SNIPPET ${s1_image_SNIPPET} CACHE STRING "" FORCE) | ||
endif() | ||
endif() | ||
|
||
if(NOT "bt-ll-sw-split" IN_LIST ipc_radio_SNIPPET) | ||
list(APPEND ipc_radio_SNIPPET ${SNIPPET}) | ||
list(APPEND ipc_radio_SNIPPET bt-ll-sw-split) | ||
set(ipc_radio_SNIPPET ${ipc_radio_SNIPPET} CACHE STRING "" FORCE) | ||
endif() |
24 changes: 24 additions & 0 deletions
24
samples/bluetooth/direction_finding_connectionless_rx/sysbuild.cmake
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# | ||
# Copyright (c) 2024 Nordic Semiconductor | ||
# | ||
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
# | ||
|
||
if(NOT SB_CONFIG_SOC_NRF5340_CPUAPP) | ||
if(NOT "bt-ll-sw-split" IN_LIST ${DEFAULT_IMAGE}_SNIPPET) | ||
list(APPEND ${DEFAULT_IMAGE}_SNIPPET ${SNIPPET}) | ||
list(APPEND ${DEFAULT_IMAGE}_SNIPPET bt-ll-sw-split) | ||
set(${DEFAULT_IMAGE}_SNIPPET ${${DEFAULT_IMAGE}_SNIPPET} CACHE STRING "" FORCE) | ||
endif() | ||
if(SB_CONFIG_SECURE_BOOT_BUILD_S1_VARIANT_IMAGE AND NOT "bt-ll-sw-split" IN_LIST s1_image_SNIPPET) | ||
list(APPEND s1_image_SNIPPET ${SNIPPET}) | ||
list(APPEND s1_image_SNIPPET bt-ll-sw-split) | ||
set(s1_image_SNIPPET ${s1_image_SNIPPET} CACHE STRING "" FORCE) | ||
endif() | ||
endif() | ||
|
||
if(NOT "bt-ll-sw-split" IN_LIST ipc_radio_SNIPPET) | ||
list(APPEND ipc_radio_SNIPPET ${SNIPPET}) | ||
list(APPEND ipc_radio_SNIPPET bt-ll-sw-split) | ||
set(ipc_radio_SNIPPET ${ipc_radio_SNIPPET} CACHE STRING "" FORCE) | ||
endif() |
24 changes: 24 additions & 0 deletions
24
samples/bluetooth/direction_finding_connectionless_tx/sysbuild.cmake
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# | ||
# Copyright (c) 2024 Nordic Semiconductor | ||
# | ||
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
# | ||
|
||
if(NOT SB_CONFIG_SOC_NRF5340_CPUAPP) | ||
if(NOT "bt-ll-sw-split" IN_LIST ${DEFAULT_IMAGE}_SNIPPET) | ||
list(APPEND ${DEFAULT_IMAGE}_SNIPPET ${SNIPPET}) | ||
list(APPEND ${DEFAULT_IMAGE}_SNIPPET bt-ll-sw-split) | ||
set(${DEFAULT_IMAGE}_SNIPPET ${${DEFAULT_IMAGE}_SNIPPET} CACHE STRING "" FORCE) | ||
endif() | ||
if(SB_CONFIG_SECURE_BOOT_BUILD_S1_VARIANT_IMAGE AND NOT "bt-ll-sw-split" IN_LIST s1_image_SNIPPET) | ||
list(APPEND s1_image_SNIPPET ${SNIPPET}) | ||
list(APPEND s1_image_SNIPPET bt-ll-sw-split) | ||
set(s1_image_SNIPPET ${s1_image_SNIPPET} CACHE STRING "" FORCE) | ||
endif() | ||
endif() | ||
|
||
if(NOT "bt-ll-sw-split" IN_LIST ipc_radio_SNIPPET) | ||
list(APPEND ipc_radio_SNIPPET ${SNIPPET}) | ||
list(APPEND ipc_radio_SNIPPET bt-ll-sw-split) | ||
set(ipc_radio_SNIPPET ${ipc_radio_SNIPPET} CACHE STRING "" FORCE) | ||
endif() |
24 changes: 24 additions & 0 deletions
24
samples/bluetooth/direction_finding_peripheral/sysbuild.cmake
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# | ||
# Copyright (c) 2024 Nordic Semiconductor | ||
# | ||
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
# | ||
|
||
if(NOT SB_CONFIG_SOC_NRF5340_CPUAPP) | ||
if(NOT "bt-ll-sw-split" IN_LIST ${DEFAULT_IMAGE}_SNIPPET) | ||
list(APPEND ${DEFAULT_IMAGE}_SNIPPET ${SNIPPET}) | ||
list(APPEND ${DEFAULT_IMAGE}_SNIPPET bt-ll-sw-split) | ||
set(${DEFAULT_IMAGE}_SNIPPET ${${DEFAULT_IMAGE}_SNIPPET} CACHE STRING "" FORCE) | ||
endif() | ||
if(SB_CONFIG_SECURE_BOOT_BUILD_S1_VARIANT_IMAGE AND NOT "bt-ll-sw-split" IN_LIST s1_image_SNIPPET) | ||
list(APPEND s1_image_SNIPPET ${SNIPPET}) | ||
list(APPEND s1_image_SNIPPET bt-ll-sw-split) | ||
set(s1_image_SNIPPET ${s1_image_SNIPPET} CACHE STRING "" FORCE) | ||
endif() | ||
endif() | ||
|
||
if(NOT "bt-ll-sw-split" IN_LIST ipc_radio_SNIPPET) | ||
list(APPEND ipc_radio_SNIPPET ${SNIPPET}) | ||
list(APPEND ipc_radio_SNIPPET bt-ll-sw-split) | ||
set(ipc_radio_SNIPPET ${ipc_radio_SNIPPET} CACHE STRING "" FORCE) | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# | ||
# Copyright (c) 2024 Nordic Semiconductor | ||
# | ||
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
# | ||
|
||
if(SB_CONFIG_SOC_SERIES_NRF52X) | ||
if(NOT "bt-ll-sw-split" IN_LIST ${DEFAULT_IMAGE}_SNIPPET) | ||
list(APPEND ${DEFAULT_IMAGE}_SNIPPET ${SNIPPET}) | ||
list(APPEND ${DEFAULT_IMAGE}_SNIPPET bt-ll-sw-split) | ||
set(${DEFAULT_IMAGE}_SNIPPET ${${DEFAULT_IMAGE}_SNIPPET} CACHE STRING "" FORCE) | ||
endif() | ||
endif() | ||
|
||
if(NOT "bt-ll-sw-split" IN_LIST ipc_radio_SNIPPET) | ||
list(APPEND ipc_radio_SNIPPET ${SNIPPET}) | ||
list(APPEND ipc_radio_SNIPPET bt-ll-sw-split) | ||
set(ipc_radio_SNIPPET ${ipc_radio_SNIPPET} CACHE STRING "" FORCE) | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters