Bluetooth: Kconfig: Move debug options into separate section
This makes it easier to visualize all debug options under a single sub-menu. Change-Id: If69a71138450a4cae24ede2c110f42ced9ee762f Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
parent
4810bb1b16
commit
600a3d3f8b
1 changed files with 22 additions and 17 deletions
|
@ -39,22 +39,6 @@ config BLUETOOTH_CENTRAL
|
||||||
default n
|
default n
|
||||||
select BLUETOOTH_CONN
|
select BLUETOOTH_CONN
|
||||||
|
|
||||||
config BLUETOOTH_DEBUG
|
|
||||||
bool "Bluetooth LE debug support"
|
|
||||||
select STDOUT_CONSOLE
|
|
||||||
default n
|
|
||||||
help
|
|
||||||
This option enables Bluetooth debug going to standard
|
|
||||||
serial console.
|
|
||||||
|
|
||||||
config BLUETOOTH_DEBUG_HCI_CORE
|
|
||||||
bool "Bluetooth HCI core debug"
|
|
||||||
depends on BLUETOOTH_DEBUG
|
|
||||||
default n
|
|
||||||
help
|
|
||||||
This option enables debug support for Bluetooth HCI
|
|
||||||
core.
|
|
||||||
|
|
||||||
config BLUETOOTH_HCI_CMD_COUNT
|
config BLUETOOTH_HCI_CMD_COUNT
|
||||||
int "Number of HCI command buffers"
|
int "Number of HCI command buffers"
|
||||||
default 2
|
default 2
|
||||||
|
@ -152,9 +136,27 @@ config BLUETOOTH_MAX_PAIRED
|
||||||
Maximum number of paired Bluetooth devices. The minimum (and
|
Maximum number of paired Bluetooth devices. The minimum (and
|
||||||
default) number is 1.
|
default) number is 1.
|
||||||
|
|
||||||
|
endif # BLUETOOTH_CONN
|
||||||
|
|
||||||
|
config BLUETOOTH_DEBUG
|
||||||
|
bool "Bluetooth LE debug support"
|
||||||
|
select STDOUT_CONSOLE
|
||||||
|
default n
|
||||||
|
help
|
||||||
|
This option enables Bluetooth debug going to standard
|
||||||
|
serial console.
|
||||||
|
|
||||||
if BLUETOOTH_DEBUG
|
if BLUETOOTH_DEBUG
|
||||||
|
config BLUETOOTH_DEBUG_HCI_CORE
|
||||||
|
bool "Bluetooth HCI core debug"
|
||||||
|
default n
|
||||||
|
help
|
||||||
|
This option enables debug support for Bluetooth HCI
|
||||||
|
core.
|
||||||
|
|
||||||
config BLUETOOTH_DEBUG_CONN
|
config BLUETOOTH_DEBUG_CONN
|
||||||
bool "Bluetooth connection debug"
|
bool "Bluetooth connection debug"
|
||||||
|
depends on BLUETOOTH_CONN
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
This option enables debug support for Bluetooth
|
This option enables debug support for Bluetooth
|
||||||
|
@ -170,6 +172,7 @@ config BLUETOOTH_DEBUG_KEYS
|
||||||
|
|
||||||
config BLUETOOTH_DEBUG_L2CAP
|
config BLUETOOTH_DEBUG_L2CAP
|
||||||
bool "Bluetooth L2CAP debug"
|
bool "Bluetooth L2CAP debug"
|
||||||
|
depends on BLUETOOTH_CONN
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
This option enables debug support for the Bluetooth
|
This option enables debug support for the Bluetooth
|
||||||
|
@ -193,6 +196,7 @@ config BLUETOOTH_SMP_SELFTEST
|
||||||
|
|
||||||
config BLUETOOTH_DEBUG_ATT
|
config BLUETOOTH_DEBUG_ATT
|
||||||
bool "Bluetooth Attribute Protocol (ATT) debug"
|
bool "Bluetooth Attribute Protocol (ATT) debug"
|
||||||
|
depends on BLUETOOTH_CONN
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
This option enables debug support for the Bluetooth
|
This option enables debug support for the Bluetooth
|
||||||
|
@ -200,10 +204,11 @@ config BLUETOOTH_DEBUG_ATT
|
||||||
|
|
||||||
config BLUETOOTH_DEBUG_GATT
|
config BLUETOOTH_DEBUG_GATT
|
||||||
bool "Bluetooth Generic Attribute Profile (GATT) debug"
|
bool "Bluetooth Generic Attribute Profile (GATT) debug"
|
||||||
|
depends on BLUETOOTH_CONN
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
This option enables debug support for the Bluetooth
|
This option enables debug support for the Bluetooth
|
||||||
Generic Attribute Profile (GATT).
|
Generic Attribute Profile (GATT).
|
||||||
endif # BLUETOOTH_DEBUG
|
endif # BLUETOOTH_DEBUG
|
||||||
endif # BLUETOOTH_CONN
|
|
||||||
endif # BLUETOOTH
|
endif # BLUETOOTH
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue