mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
145 lines
3.8 KiB
Plaintext
145 lines
3.8 KiB
Plaintext
menuconfig BT_ENABLED
|
|
bool "Bluetooth"
|
|
help
|
|
Select this option to enable Bluetooth and show the submenu with Bluetooth configuration choices.
|
|
|
|
menuconfig BLUEDROID_ENABLED
|
|
bool "Bluedroid Bluetooth stack enabled"
|
|
depends on BT_ENABLED
|
|
default y
|
|
help
|
|
This enables the default Bluedroid Bluetooth stack
|
|
|
|
config BTC_TASK_STACK_SIZE
|
|
int "Bluetooth event (callback to application) task stack size"
|
|
depends on BLUEDROID_ENABLED
|
|
default 3072
|
|
help
|
|
This select btc task stack size
|
|
|
|
config BLUEDROID_MEM_DEBUG
|
|
bool "Bluedroid memory debug"
|
|
depends on BLUEDROID_ENABLED
|
|
default n
|
|
help
|
|
Bluedroid memory debug
|
|
|
|
config CLASSIC_BT_ENABLED
|
|
bool "Classic Bluetooth"
|
|
depends on BLUEDROID_ENABLED
|
|
default n
|
|
|
|
config BT_DRAM_RELEASE
|
|
bool "Release DRAM from Classic BT controller"
|
|
depends on BT_ENABLED && (!BLUEDROID_ENABLED || (BLUEDROID_ENABLED && !CLASSIC_BT_ENABLED))
|
|
default n
|
|
help
|
|
This option should only be used when BLE only.
|
|
Enabling this option will release about 30K DRAM from Classic BT.
|
|
The released DRAM will be used as system heap memory.
|
|
|
|
config GATTS_ENABLE
|
|
bool "Include GATT server module(GATTS)"
|
|
depends on BLUEDROID_ENABLED
|
|
default y
|
|
help
|
|
This option can be disabled when the app work only on gatt client mode
|
|
|
|
config GATTC_ENABLE
|
|
bool "Include GATT client module(GATTC)"
|
|
depends on BLUEDROID_ENABLED
|
|
default y
|
|
help
|
|
This option can be close when the app work only on gatt server mode
|
|
|
|
config SMP_ENABLE
|
|
bool "Include BT security module(SMP)"
|
|
depends on BLUEDROID_ENABLED
|
|
default y
|
|
help
|
|
This option can be close when the app not used the ble security connect.
|
|
|
|
choice BT_ACL_CONNECTIONS
|
|
prompt "BT/BLE MAX ACL CONNECTIONS"
|
|
depends on BLUEDROID_ENABLED
|
|
default BT_ACL_CONNECTION_4
|
|
help
|
|
Maximum BT/BLE connection count
|
|
|
|
config BT_ACL_CONNECTION_1
|
|
bool "1 ACL CONNECT"
|
|
config BT_ACL_CONNECTION_2
|
|
bool "2 ACL CONNECT"
|
|
config BT_ACL_CONNECTION_3
|
|
bool "3 ACL CONNECT"
|
|
config BT_ACL_CONNECTION_4
|
|
bool "4 ACL CONNECT"
|
|
config BT_ACL_CONNECTION_5
|
|
bool "5 ACL CONNECT"
|
|
config BT_ACL_CONNECTION_6
|
|
bool "6 ACL CONNECT"
|
|
config BT_ACL_CONNECTION_7
|
|
bool "7 ACL CONNECT"
|
|
endchoice
|
|
|
|
config BT_ACL_CONNECTIONS
|
|
int
|
|
default 1 if BT_ACL_CONNECTION_1
|
|
default 2 if BT_ACL_CONNECTION_2
|
|
default 3 if BT_ACL_CONNECTION_3
|
|
default 4 if BT_ACL_CONNECTION_4
|
|
default 5 if BT_ACL_CONNECTION_5
|
|
default 6 if BT_ACL_CONNECTION_6
|
|
default 7 if BT_ACL_CONNECTION_7
|
|
|
|
config BT_STACK_NO_LOG
|
|
bool "Close the bluedroid bt stack log print"
|
|
depends on BLUEDROID_ENABLED
|
|
default n
|
|
help
|
|
This select can save the rowdata code size
|
|
|
|
#disable now for app cpu due to a known issue
|
|
config BTDM_CONTROLLER_RUN_APP_CPU
|
|
bool "Run controller on APP CPU"
|
|
depends on BT_ENABLED && !FREERTOS_UNICORE && 0
|
|
default n
|
|
help
|
|
Run controller on APP CPU.
|
|
|
|
config BTDM_CONTROLLER_RUN_CPU
|
|
int
|
|
depends on BT_ENABLED
|
|
default 1 if BTDM_CONTROLLER_RUN_APP_CPU
|
|
default 0
|
|
|
|
menuconfig BT_HCI_UART
|
|
bool "HCI use UART as IO"
|
|
depends on BT_ENABLED && !BLUEDROID_ENABLED
|
|
default n
|
|
help
|
|
Default HCI use VHCI, if this option choose, HCI will use UART(0/1/2) as IO.
|
|
Besides, it can set uart number and uart baudrate.
|
|
|
|
config BT_HCI_UART_NO
|
|
int "UART Number for HCI"
|
|
depends on BT_HCI_UART
|
|
range 1 2
|
|
default 1
|
|
help
|
|
Uart number for HCI.
|
|
|
|
config BT_HCI_UART_BAUDRATE
|
|
int "UART Baudrate for HCI"
|
|
depends on BT_HCI_UART
|
|
range 115200 921600
|
|
default 921600
|
|
help
|
|
UART Baudrate for HCI. Please use standard baudrate.
|
|
|
|
# Memory reserved at start of DRAM for Bluetooth stack
|
|
config BT_RESERVE_DRAM
|
|
hex
|
|
default 0x10000 if BT_ENABLED
|
|
default 0
|