-
Notifications
You must be signed in to change notification settings - Fork 632
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[nrf noup] snippets: Add snippet for the Zephyr Bluetooth Controller
By defining this snippet it becomes simpler to build an application for the Zephyr Bluetooth Controller as it removes the need for adding boilerplate overlay files to applications. This snippet is only needed in NCS because the SoftDevice Controller is the default and supported controller. Signed-off-by: Rubin Gerritsen <[email protected]>
- Loading branch information
1 parent
02f5447
commit fb6ca20
Showing
4 changed files
with
41 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
.. _snippet-bt-ll-sw-split: | ||
|
||
Zephyr Bluetooth LE Controller (bt-ll-sw-split) | ||
############################################### | ||
|
||
.. code-block:: console | ||
west build -S bt-ll-sw-split [...] | ||
Overview | ||
******** | ||
|
||
This snippet changes the default Bluetooth controller to the Zephyr Bluetooth LE Controller. | ||
|
||
Requirements | ||
************ | ||
|
||
Hardware support for: | ||
|
||
- :kconfig:option:`CONFIG_BT` | ||
- :kconfig:option:`CONFIG_BT_CTLR` |
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,3 @@ | ||
CONFIG_BT=y | ||
CONFIG_BT_CTLR=y | ||
CONFIG_BT_LL_SW_SPLIT=y |
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,13 @@ | ||
&bt_hci_controller { | ||
status = "okay"; | ||
}; | ||
|
||
&bt_hci_sdc { | ||
status = "disabled"; | ||
}; | ||
|
||
/ { | ||
chosen { | ||
zephyr,bt-hci = &bt_hci_controller; | ||
}; | ||
}; |
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,4 @@ | ||
name: bt-ll-sw-split | ||
append: | ||
EXTRA_CONF_FILE: bt-ll-sw-split.conf | ||
EXTRA_DTC_OVERLAY_FILE: bt-ll-sw-split.overlay |