zephyr/drivers/bluetooth/hci/Kconfig.esp32
Marek Matej 6e6ab2f8ab soc: espressif: Remove ESP heap and use heap adapter
Remove ESP heap from the sources. System heap is default heap.
Use heap adapter layer to configure used heap.
Use MEM_POOL memory request config to Wi-Fi and Bluetooth drivers.
Update the Wi-Fi and BLE memory needs.

Signed-off-by: Marek Matej <marek.matej@espressif.com>
2025-02-05 17:49:54 +01:00

29 lines
640 B
Text

# Copyright 2024 Espressif Systems (Shanghai) PTE LTD
if BT_ESP32
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.
choice ESP_BT_HEAP
prompt "Bluetooth adapter heap in use"
default ESP_BT_HEAP_SYSTEM
config ESP_BT_HEAP_SYSTEM
bool "Bluetooth adapter use the kernel mempool heap (k_malloc)"
endchoice # ESP_BT_HEAP
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