Merge branch 'bugfix/classicBT_SMP_dependence' into 'master'

component/bt: add constraint in Kconfig to enable SMP_ENABLE when using classic BT

See merge request !877
This commit is contained in:
Jiang Jiang Jian 2017-06-15 21:28:36 +08:00
commit 1cae2da0a0

View file

@ -28,6 +28,8 @@ config CLASSIC_BT_ENABLED
bool "Classic Bluetooth" bool "Classic Bluetooth"
depends on BLUEDROID_ENABLED depends on BLUEDROID_ENABLED
default n default n
help
For now this option needs "SMP_ENABLE" to be set to yes
config BT_DRAM_RELEASE config BT_DRAM_RELEASE
bool "Release DRAM from Classic BT controller" bool "Release DRAM from Classic BT controller"
@ -52,8 +54,8 @@ config GATTC_ENABLE
help help
This option can be close when the app work only on gatt server mode This option can be close when the app work only on gatt server mode
config SMP_ENABLE config BLE_SMP_ENABLE
bool "Include BT security module(SMP)" bool "Include BLE security module(SMP)"
depends on BLUEDROID_ENABLED depends on BLUEDROID_ENABLED
default y default y
help help
@ -112,6 +114,11 @@ config BT_HCI_UART_BAUDRATE
help help
UART Baudrate for HCI. Please use standard baudrate. UART Baudrate for HCI. Please use standard baudrate.
config SMP_ENABLE
bool
depends on BLUEDROID_ENABLED
default CLASSIC_BT_ENABLED || BLE_SMP_ENABLE
# Memory reserved at start of DRAM for Bluetooth stack # Memory reserved at start of DRAM for Bluetooth stack
config BT_RESERVE_DRAM config BT_RESERVE_DRAM
hex hex