Bluetooth: Kconfig: Change topmost option

Refactors existing menu by putting as topmost selectable option
general bluetooth subsystem support instead so far Low Energy (LE).
Implication of the change is introduction of new BLUETOOTH_LE config
flag. The flag needs to be propagated to all existing bluetooth
related apps to make them buildable.

Change-Id: I608c1baad038e0ee4cccf44a3e597e16ae1f7f54
Signed-off-by: Arkadiusz Lichwa <arkadiusz.lichwa@tieto.com>
This commit is contained in:
Arkadiusz Lichwa 2015-11-11 20:40:49 +01:00 committed by Anas Nashif
commit cb29e6135d
15 changed files with 25 additions and 2 deletions

View file

@ -17,14 +17,21 @@
#
menuconfig BLUETOOTH
bool "Bluetooth LE support"
bool "Bluetooth support"
default n
select NANO_TIMEOUTS
select NET_BUF
help
This option enables Bluetooth Low Energy support.
This option enables Bluetooth support.
if BLUETOOTH
config BLUETOOTH_LE
bool "Bluetooth Low Energy (LE) support"
default n
help
This option enables Bluetooth Low Energy (LE)"
if BLUETOOTH_LE
config BLUETOOTH_HCI_CMD_COUNT
int "Number of HCI command buffers"
default 2
@ -224,4 +231,6 @@ config BLUETOOTH_DEBUG_GATT
endif # BLUETOOTH_DEBUG
endif # BLUETOOTH_LE
endif # BLUETOOTH