OVMS3-idf/components/bt/Kconfig

72 lines
1.8 KiB
Text
Raw Normal View History

menuconfig BT_ENABLED
bool "Bluetooth"
help
Select this option to enable Bluetooth and show the submenu with Bluetooth configuration choices.
config BLUEDROID_ENABLED
bool "Bluedroid Bluetooth stack enabled"
depends on BT_ENABLED
default y
help
This enables the default Bluedroid Bluetooth stack
2016-08-17 15:08:22 +00:00
config BTC_TASK_STACK_SIZE
int "Bluetooth event (callback to application) task stack size"
depends on BT_ENABLED
default 3072
help
This select btc task stack size
config BLUEDROID_MEM_DEBUG
bool "Bluedroid memory debug"
depends on BT_ENABLED
default n
help
Bluedroid memory debug
config BT_DRAM_RELEASE
bool "Release DRAM from Classic BT controller"
depends on BT_ENABLED
default n
help
This option should only be used when BLE only.
Open this option will release about 30K DRAM from Classic BT.
The released DRAM will be used as system heap memory.
#config BTDM_CONTROLLER_RUN_APP_CPU
# bool "Run controller on APP CPU"
# depends on BT_ENABLED
# default n
# help
# Run controller on APP CPU.
menuconfig HCI_UART
bool "HCI use UART as IO"
depends on BT_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 HCI_UART_NO
int "UART Number for HCI"
depends on HCI_UART
range 1 2
default 1
help
Uart number for HCI.
config HCI_UART_BAUDRATE
int "UART Baudrate for HCI"
depends on 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