2017-01-10 16:39:43 +11:00
|
|
|
menuconfig BT_ENABLED
|
|
|
|
bool "Bluetooth"
|
|
|
|
help
|
2017-03-07 18:20:33 +01:00
|
|
|
Select this option to enable Bluetooth and show the submenu with Bluetooth configuration choices.
|
|
|
|
|
2017-03-31 12:51:45 +08:00
|
|
|
menuconfig BLUEDROID_ENABLED
|
2017-03-07 18:20:33 +01:00
|
|
|
bool "Bluedroid Bluetooth stack enabled"
|
|
|
|
depends on BT_ENABLED
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
This enables the default Bluedroid Bluetooth stack
|
2016-08-17 23:08:22 +08:00
|
|
|
|
2016-11-25 23:37:46 +08:00
|
|
|
config BTC_TASK_STACK_SIZE
|
2017-03-18 16:02:54 +08:00
|
|
|
int "Bluetooth event (callback to application) task stack size"
|
2017-03-31 12:51:45 +08:00
|
|
|
depends on BLUEDROID_ENABLED
|
2017-03-18 16:02:54 +08:00
|
|
|
default 3072
|
|
|
|
help
|
|
|
|
This select btc task stack size
|
2016-11-25 23:37:46 +08:00
|
|
|
|
2016-12-13 04:10:44 +08:00
|
|
|
config BLUEDROID_MEM_DEBUG
|
2017-03-18 16:02:54 +08:00
|
|
|
bool "Bluedroid memory debug"
|
2017-03-31 12:51:45 +08:00
|
|
|
depends on BLUEDROID_ENABLED
|
2017-03-18 16:02:54 +08:00
|
|
|
default n
|
|
|
|
help
|
|
|
|
Bluedroid memory debug
|
2016-12-13 04:10:44 +08:00
|
|
|
|
2017-03-16 22:32:27 +08:00
|
|
|
config CLASSIC_BT_ENABLED
|
2017-03-18 16:02:54 +08:00
|
|
|
bool "Classic Bluetooth"
|
2017-03-31 12:51:45 +08:00
|
|
|
depends on BLUEDROID_ENABLED
|
2017-03-18 16:02:54 +08:00
|
|
|
default n
|
2017-03-16 22:32:27 +08:00
|
|
|
|
2017-02-21 17:46:59 +08:00
|
|
|
config BT_DRAM_RELEASE
|
2017-03-18 16:02:54 +08:00
|
|
|
bool "Release DRAM from Classic BT controller"
|
2017-03-31 12:51:45 +08:00
|
|
|
depends on BT_ENABLED && (!BLUEDROID_ENABLED || (BLUEDROID_ENABLED && !CLASSIC_BT_ENABLED))
|
2017-03-18 16:02:54 +08:00
|
|
|
default n
|
|
|
|
help
|
|
|
|
This option should only be used when BLE only.
|
2017-03-30 21:16:11 +08:00
|
|
|
Enabling this option will release about 30K DRAM from Classic BT.
|
2017-03-18 16:02:54 +08:00
|
|
|
The released DRAM will be used as system heap memory.
|
2017-02-21 17:46:59 +08:00
|
|
|
|
2016-09-21 11:04:16 +10:00
|
|
|
# Memory reserved at start of DRAM for Bluetooth stack
|
|
|
|
config BT_RESERVE_DRAM
|
|
|
|
hex
|
2017-01-10 16:04:04 +11:00
|
|
|
default 0x10000 if BT_ENABLED
|
2016-09-28 13:24:58 +08:00
|
|
|
default 0
|