2024-09-29 18:53:16 -03:00
|
|
|
# Copyright 2024 Espressif Systems (Shanghai) PTE LTD
|
2024-10-07 17:25:21 -03:00
|
|
|
|
|
|
|
if BT_ESP32
|
|
|
|
|
2025-01-29 14:25:09 +01:00
|
|
|
config HEAP_MEM_POOL_ADD_SIZE_ESP_BT
|
|
|
|
int
|
|
|
|
default 25600 if ESP_BT_HEAP_SYSTEM
|
|
|
|
default 0
|
|
|
|
help
|
|
|
|
Make sure there is a minimal heap available for BT driver.
|
|
|
|
|
2024-10-07 17:25:21 -03:00
|
|
|
choice ESP_BT_HEAP
|
|
|
|
prompt "Bluetooth adapter heap in use"
|
2025-01-29 14:25:09 +01:00
|
|
|
default ESP_BT_HEAP_SYSTEM
|
2024-10-07 17:25:21 -03:00
|
|
|
|
|
|
|
config ESP_BT_HEAP_SYSTEM
|
2025-01-29 14:25:09 +01:00
|
|
|
bool "Bluetooth adapter use the kernel mempool heap (k_malloc)"
|
2024-10-07 17:25:21 -03:00
|
|
|
|
|
|
|
endchoice # ESP_BT_HEAP
|
|
|
|
|
2024-09-29 18:53:16 -03:00
|
|
|
config ESP32_BT_CONTROLLER_STACK_SIZE
|
|
|
|
int "Bluetooth controller stack size"
|
|
|
|
default 4096
|
|
|
|
|
|
|
|
config ESP32_BT_CONTROLLER_TASK_PRIO
|
|
|
|
int "Bluetooth controller task priority level"
|
|
|
|
default 2
|
|
|
|
|
|
|
|
endif # BT_ESP32
|