Commit 3023e763 authored by Rubin Gerritsen's avatar Rubin Gerritsen Committed by Mahesh Mahadevan
Browse files

snippets: Add snippet for the Zephyr Bluetooth Controller



By defining this snippet it becomes simpler to build an application
for the Zephyr Bluetooth Controller in environments
where this is not enabled in device tree by default.

It removes the need for adding boilerplate overlay files
to applications.

Also, we would be able to add this snippet by default for
samples and tests where it is required to use the zephyr
link layer.

Signed-off-by: default avatarRubin Gerritsen <rubin.gerritsen@nordicsemi.no>
parent 5f51b0ac
Loading
Loading
Loading
Loading
+24 −0
Original line number Diff line number Diff line
.. _snippet-bt-ll-sw-split:

Zephyr Bluetooth LE Controller (bt-ll-sw-split)
###############################################

You can build with this snippet by following the instructions in :ref:`the snippets usage page<using-snippets>`.
When building with ``west``, you can do:

.. code-block:: console

   west build -S bt-ll-sw-split [...]

Overview
********

This selects the Zephyr Bluetooth LE Controller.

Requirements
************

Hardware support for:

- :kconfig:option:`CONFIG_BT`
- :kconfig:option:`CONFIG_BT_CTLR`
+3 −0
Original line number Diff line number Diff line
CONFIG_BT=y
CONFIG_BT_CTLR=y
CONFIG_BT_LL_SW_SPLIT=y
+9 −0
Original line number Diff line number Diff line
&bt_hci_controller {
	status = "okay";
};

/ {
	chosen {
		zephyr,bt-hci = &bt_hci_controller;
	};
};
+4 −0
Original line number Diff line number Diff line
name: bt-ll-sw-split
append:
  EXTRA_CONF_FILE: bt-ll-sw-split.conf
  EXTRA_DTC_OVERLAY_FILE: bt-ll-sw-split.overlay