Skip to content

Commit fb6ca20

Browse files
rugeGerritsenrlubos
authored andcommitted
[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]>
1 parent 02f5447 commit fb6ca20

File tree

4 files changed

+41
-0
lines changed

4 files changed

+41
-0
lines changed

snippets/bt-ll-sw-split/README.rst

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
.. _snippet-bt-ll-sw-split:
2+
3+
Zephyr Bluetooth LE Controller (bt-ll-sw-split)
4+
###############################################
5+
6+
.. code-block:: console
7+
8+
west build -S bt-ll-sw-split [...]
9+
10+
Overview
11+
********
12+
13+
This snippet changes the default Bluetooth controller to the Zephyr Bluetooth LE Controller.
14+
15+
Requirements
16+
************
17+
18+
Hardware support for:
19+
20+
- :kconfig:option:`CONFIG_BT`
21+
- :kconfig:option:`CONFIG_BT_CTLR`
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
CONFIG_BT=y
2+
CONFIG_BT_CTLR=y
3+
CONFIG_BT_LL_SW_SPLIT=y
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
&bt_hci_controller {
2+
status = "okay";
3+
};
4+
5+
&bt_hci_sdc {
6+
status = "disabled";
7+
};
8+
9+
/ {
10+
chosen {
11+
zephyr,bt-hci = &bt_hci_controller;
12+
};
13+
};
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
name: bt-ll-sw-split
2+
append:
3+
EXTRA_CONF_FILE: bt-ll-sw-split.conf
4+
EXTRA_DTC_OVERLAY_FILE: bt-ll-sw-split.overlay

0 commit comments

Comments
 (0)