Bluetooth: Move HCI driver debug to top-level Kconfig
Since the HCI driver debug option applies to both files in drivers/bluetooth and subsys/bluetooth, the configuration option itself now lives in the top-level Kconfig file for consistency. Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
This commit is contained in:
parent
c1041a89a0
commit
8a7eeeb7f1
3 changed files with 9 additions and 13 deletions
|
@ -58,13 +58,6 @@ endchoice
|
|||
|
||||
endif # !BLUETOOTH_CONTROLLER
|
||||
|
||||
config BLUETOOTH_DEBUG_HCI_DRIVER
|
||||
bool "Bluetooth HCI driver debug"
|
||||
depends on BLUETOOTH_DEBUG
|
||||
help
|
||||
This option enables debug support for the chosen
|
||||
Bluetooth HCI driver
|
||||
|
||||
config BLUETOOTH_UART_ON_DEV_NAME
|
||||
string "Device Name of UART Device for Bluetooth"
|
||||
default "UART_0"
|
||||
|
|
|
@ -79,12 +79,6 @@ config BLUETOOTH_DEVICE_NAME
|
|||
|
||||
if BLUETOOTH_DEBUG
|
||||
|
||||
config BLUETOOTH_DEBUG_HCI_DRIVER
|
||||
bool "Bluetooth driver debug"
|
||||
help
|
||||
This option enables debug support for the chosen
|
||||
Bluetooth UART driver to Nordic chip.
|
||||
|
||||
config BLUETOOTH_DEBUG_GATT
|
||||
bool "Bluetooth Generic Attribute Profile (GATT) debug"
|
||||
help
|
||||
|
|
|
@ -127,6 +127,7 @@ config BLUETOOTH_DEBUG_MONITOR
|
|||
|
||||
endchoice
|
||||
|
||||
if BLUETOOTH_DEBUG
|
||||
config BLUETOOTH_DEBUG_COLOR
|
||||
bool "Use colored logs"
|
||||
depends on BLUETOOTH_DEBUG_LOG
|
||||
|
@ -143,6 +144,14 @@ config BLUETOOTH_MONITOR_ON_DEV_NAME
|
|||
This option specifies the name of UART device to be used
|
||||
for the Bluetooth monitor logging.
|
||||
|
||||
config BLUETOOTH_DEBUG_HCI_DRIVER
|
||||
bool "Bluetooth HCI driver debug"
|
||||
depends on BLUETOOTH_DEBUG
|
||||
help
|
||||
This option enables debug support for the active
|
||||
Bluetooth HCI driver, including the Controller-side HCI layer
|
||||
when included in the build.
|
||||
endif #BLUETOOTH_DEBUG
|
||||
|
||||
source "subsys/bluetooth/host/Kconfig"
|
||||
source "subsys/bluetooth/controller/Kconfig"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue