Bluetooth: remove CONFIG_BT_CTLR_TO_HOST_UART_DEV_NAME
This is now unused. Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
This commit is contained in:
parent
876cb75c8a
commit
c3d3b3dbc8
3 changed files with 13 additions and 22 deletions
|
|
@ -299,20 +299,19 @@ identifier for a chosen node.
|
|||
:project: Zephyr
|
||||
|
||||
There are also conveniences for commonly used zephyr-specific properties of the
|
||||
``/chosen`` node. (These may also be set in :file:`dts_fixup.h` files for now,
|
||||
though this mechanism is deprecated.)
|
||||
``/chosen`` node.
|
||||
|
||||
.. doxygengroup:: devicetree-zephyr
|
||||
:project: Zephyr
|
||||
|
||||
The following table documents some commonly used Zephyr-specific chosen nodes.
|
||||
|
||||
Often, a chosen node's label property will be used to set the default value of
|
||||
a Kconfig option which in turn configures a hardware-specific subsystem
|
||||
setting. This is usually for backwards compatibility in cases when the Kconfig
|
||||
option predates devicetree support in Zephyr. In other cases, there is no
|
||||
Kconfig option, and the devicetree node's label property is used directly in
|
||||
the source code to specify a device name.
|
||||
Sometimes, a chosen node's label property will be used to set the default value
|
||||
of a Kconfig option which in turn configures a hardware-specific device. This
|
||||
is usually for backwards compatibility in cases when the Kconfig option
|
||||
predates devicetree support in Zephyr. In other cases, there is no Kconfig
|
||||
option, and the devicetree node is used directly in the source code to select a
|
||||
device.
|
||||
|
||||
.. Documentation maintainers: please keep this sorted by property name
|
||||
|
||||
|
|
@ -322,7 +321,8 @@ the source code to specify a device name.
|
|||
* - Property
|
||||
- Purpose
|
||||
* - zephyr,bt-c2h-uart
|
||||
- Sets default :option:`CONFIG_BT_CTLR_TO_HOST_UART_DEV_NAME`
|
||||
- Selects the UART used for host communication in the
|
||||
:ref:`bluetooth-hci-uart-sample`
|
||||
* - zephyr,bt-mon-uart
|
||||
- Sets default :option:`CONFIG_BT_MONITOR_ON_DEV_NAME`
|
||||
* - zephyr,bt-uart
|
||||
|
|
|
|||
|
|
@ -156,6 +156,10 @@ Drivers and Sensors
|
|||
|
||||
* Bluetooth
|
||||
|
||||
* The Kconfig option ``CONFIG_BT_CTLR_TO_HOST_UART_DEV_NAME`` was removed.
|
||||
Use the :ref:`zephyr,bt-c2h-uart chosen node <devicetree-chosen-nodes>`
|
||||
directly instead.
|
||||
|
||||
* CAN
|
||||
|
||||
* Clock Control
|
||||
|
|
|
|||
|
|
@ -302,19 +302,6 @@ config BT_ISO_MAX_BIG
|
|||
endif # BT_ISO_BROADCAST
|
||||
endif # BT_ISO
|
||||
|
||||
# Workaround for not being able to have commas in macro arguments
|
||||
DT_CHOSEN_Z_BT_C2H_UART := zephyr,bt-c2h-uart
|
||||
|
||||
config BT_CTLR_TO_HOST_UART_DEV_NAME
|
||||
string "Device Name of UART Device to an external Bluetooth Host"
|
||||
default "$(dt_chosen_label,$(DT_CHOSEN_Z_BT_C2H_UART))" if HAS_DTS
|
||||
default "UART_0"
|
||||
depends on BT_HCI_RAW
|
||||
help
|
||||
This option specifies the name of UART device to be used
|
||||
to connect to an external Bluetooth Host when Zephyr is
|
||||
acting as a Bluetooth Controller.
|
||||
|
||||
source "subsys/bluetooth/common/Kconfig"
|
||||
source "subsys/bluetooth/host/Kconfig"
|
||||
source "subsys/bluetooth/controller/Kconfig"
|
||||
|
|
|
|||
Loading…
Reference in a new issue