1# Copyright 2024 Espressif Systems (Shanghai) PTE LTD
2
3if BT_ESP32
4
5config HEAP_MEM_POOL_ADD_SIZE_ESP_BT
6	int
7	default 25600 if ESP_BT_HEAP_SYSTEM
8	default 0
9	help
10	  Make sure there is a minimal heap available for BT driver.
11
12choice ESP_BT_HEAP
13	prompt "Bluetooth adapter heap in use"
14	default ESP_BT_HEAP_SYSTEM
15
16	config ESP_BT_HEAP_SYSTEM
17		bool "Bluetooth adapter use the kernel mempool heap (k_malloc)"
18
19endchoice # ESP_BT_HEAP
20
21config ESP32_BT_CONTROLLER_STACK_SIZE
22	int "Bluetooth controller stack size"
23	default 4096
24
25config ESP32_BT_CONTROLLER_TASK_PRIO
26	int "Bluetooth controller task priority level"
27	default 2
28
29endif # BT_ESP32
30