Skip to content

Commit

Permalink
Kconfig: Organization of Ksymbols for bluetooth.
Browse files Browse the repository at this point in the history
This commit organizes the bluetooth Ksymbols in:
 - Driver symbols at drivers/bluetooth/Kconfig
 - Stack symbols at net/bluetooth/Kconfig

Change-Id: I8ebadeb8ac7f8a769d7620e4e44077a05915dc86
Signed-off-by: Juan Manuel Cruz <[email protected]>
  • Loading branch information
jmcruzal authored and nashif committed Feb 6, 2016
1 parent 1537c24 commit b7fcfd5
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 28 deletions.
2 changes: 2 additions & 0 deletions Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ config COMPILER_OPT

endmenu

source "net/Kconfig"

source "drivers/Kconfig"

config EXPERIMENTAL
Expand Down
4 changes: 2 additions & 2 deletions drivers/Kconfig
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
source "drivers/bluetooth/Kconfig"

config DRV_CONSOLE
bool
default y
Expand Down Expand Up @@ -47,5 +49,3 @@ config DRV_RANDOM
This option enables the random number generator driver.

source "drivers/random/Kconfig"

source "drivers/bluetooth/Kconfig"
28 changes: 2 additions & 26 deletions drivers/bluetooth/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -33,23 +33,8 @@
#
# Bluetooth options
#
menu "Bluetooth Options"

config BLUETOOTH
bool
prompt "Bluetooth LE support [EXPERIMENTAL]"
default n
help
This option enables Bluetooth Low Energy support.

config BLUETOOTH_DEBUG
bool
prompt "Bluetooth LE debug support"
depends on BLUETOOTH
default n
help
This option enables Bluetooth debug going to standard
serial console.
menu "Bluetooth Stack Options"
depends on BLUETOOTH

config BLUETOOTH_DEBUG_UART
bool
Expand All @@ -60,15 +45,6 @@ config BLUETOOTH_DEBUG_UART
This option enables debug support for Bluetooth UART
driver

config BLUETOOTH_DEBUG_HCI_CORE
bool
prompt "Bluetooth HCI core debug"
depends on BLUETOOTH_DEBUG
default n
help
This option enables debug support for Bluetooth HCI
core

config BLUETOOTH_UART
bool
prompt "Bluetooth UART driver"
Expand Down
1 change: 1 addition & 0 deletions net/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
source "net/bluetooth/Kconfig"
24 changes: 24 additions & 0 deletions net/bluetooth/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
config BLUETOOTH
bool
prompt "Bluetooth LE support [EXPERIMENTAL]"
default n
help
This option enables Bluetooth Low Energy support.

config BLUETOOTH_DEBUG
bool
prompt "Bluetooth LE debug support"
depends on BLUETOOTH
default n
help
This option enables Bluetooth debug going to standard
serial console.

config BLUETOOTH_DEBUG_HCI_CORE
bool
prompt "Bluetooth HCI core debug"
depends on BLUETOOTH_DEBUG
default n
help
This option enables debug support for Bluetooth HCI
core

0 comments on commit b7fcfd5

Please sign in to comment.