Skip to content

Commit b6b70a0

Browse files
jhedbergkartben
authored andcommitted
doc: bluetooth: Update references to Kconfig options and DTS
Update the instructions for the three possible Bluetooth setups (controller-only, combined build, host-only) to be in line with how the features are actually enabled (e.g. device tree for the controller and HCI drivers). Signed-off-by: Johan Hedberg <[email protected]>
1 parent fc69110 commit b6b70a0

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

doc/connectivity/bluetooth/bluetooth-arch.rst

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,9 @@ BLE-enabled builds that can be produced from the Zephyr project codebase:
109109
* :kconfig:option:`CONFIG_BT` ``=y``
110110
* :kconfig:option:`CONFIG_BT_HCI` ``=y``
111111
* :kconfig:option:`CONFIG_BT_HCI_RAW` ``=y``
112-
* :kconfig:option:`CONFIG_BT_CTLR` ``=y``
113-
* :kconfig:option:`CONFIG_BT_LL_SW_SPLIT` ``=y`` (if using the open source Link Layer)
112+
113+
The controller itself needs to be enabled as well, typically by making sure the
114+
corresponding device tree node is enabled.
114115

115116
* **Host-only build**: A Zephyr OS Host build will contain the Application and
116117
the BLE Host, along with an HCI driver (UART or SPI) to interface with an
@@ -119,7 +120,11 @@ BLE-enabled builds that can be produced from the Zephyr project codebase:
119120

120121
* :kconfig:option:`CONFIG_BT` ``=y``
121122
* :kconfig:option:`CONFIG_BT_HCI` ``=y``
122-
* :kconfig:option:`CONFIG_BT_CTLR` ``=n``
123+
124+
Additionally, if the platform supports also a local controller, it needs to be
125+
disabled, typically by disabling the corresponding device tree node. This is done
126+
together with enabling the device tree node for some other HCI driver and making
127+
sure that the ``zephyr,bt-hci`` device tree chosen property points at it.
123128

124129
All of the samples located in ``samples/bluetooth`` except for the ones
125130
used for Controller-only builds can be built as Host-only
@@ -130,8 +135,9 @@ BLE-enabled builds that can be produced from the Zephyr project codebase:
130135

131136
* :kconfig:option:`CONFIG_BT` ``=y``
132137
* :kconfig:option:`CONFIG_BT_HCI` ``=y``
133-
* :kconfig:option:`CONFIG_BT_CTLR` ``=y``
134-
* :kconfig:option:`CONFIG_BT_LL_SW_SPLIT` ``=y`` (if using the open source Link Layer)
138+
139+
The controller itself needs to be enabled as well, typically by making sure the
140+
corresponding device tree node is enabled.
135141

136142
All of the samples located in ``samples/bluetooth`` except for the ones
137143
used for Controller-only builds can be built as Combined

0 commit comments

Comments
 (0)