Fixed the bluedroid hci crash due insufficient memory on ESP32C2

This commit is contained in:
Shen Weilong
2023-01-17 18:47:12 +08:00
committed by Shen Weilong
parent 885e501d99
commit 699dde8a38
5 changed files with 47 additions and 25 deletions

View File

@@ -207,7 +207,7 @@ menu "Memory Settings"
config BT_LE_ACL_BUF_COUNT
int "ACL Buffer count"
default 24
default 10
help
The number of ACL data buffers.
@@ -381,5 +381,11 @@ choice BT_LE_WAKEUP_SOURCE
bool "Use ESP timer to wakeup CPU"
help
Use esp timer to wakeup CPU
endchoice
config BT_LE_USE_ESP_TIMER
bool "Use Esp Timer for callout"
depends on !BT_NIMBLE_ENABLED
default y
help
Set this option to use Esp Timer which has higher priority timer instead of FreeRTOS timer