Bluetooth: Move hci_uart UART Kconfig to the top-level file
To allow for hci_uart builds that do not include the controller code, move the UART Kconfig option used by the sample up one level so that it is shared by all configurations using Bluetooth: Jira: ZEP-2132 Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
This commit is contained in:
parent
63efc5f4bb
commit
ef2aecefda
2 changed files with 9 additions and 10 deletions
|
@ -41,7 +41,6 @@ config BLUETOOTH_HCI_RAW
|
|||
This option allows to access Bluetooth controller
|
||||
from the application with the RAW HCI protocol.
|
||||
|
||||
|
||||
config BLUETOOTH_PERIPHERAL
|
||||
bool "Peripheral Role support"
|
||||
select BLUETOOTH_CONN
|
||||
|
@ -85,6 +84,15 @@ config BLUETOOTH_HCI_ACL_FLOW_CONTROL
|
|||
not run out of incoming ACL buffers.
|
||||
endif # BLUETOOTH_CONN
|
||||
|
||||
config BLUETOOTH_CONTROLLER_TO_HOST_UART_DEV_NAME
|
||||
string "Device Name of UART Device to an external Bluetooth Host"
|
||||
default "UART_0"
|
||||
depends on BLUETOOTH_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"
|
||||
|
|
|
@ -30,15 +30,6 @@ endchoice
|
|||
|
||||
comment "BLE Controller configuration"
|
||||
|
||||
config BLUETOOTH_CONTROLLER_TO_HOST_UART_DEV_NAME
|
||||
string "Device Name of UART Device to an external Bluetooth Host"
|
||||
default "UART_0"
|
||||
depends on BLUETOOTH_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.
|
||||
|
||||
menu "Advertiser"
|
||||
visible if !BLUETOOTH_PERIPHERAL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue