feat(ble): make ble log task stack size configurable

(cherry picked from commit b525e6555b)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
This commit is contained in:
Chen Jian Hua
2025-11-05 13:33:16 +08:00
parent 1c0e185552
commit 14fefe8a4e
2 changed files with 7 additions and 1 deletions

View File

@@ -5,6 +5,12 @@ config BLE_LOG_ENABLED
Enable BLE Log Module
if BLE_LOG_ENABLED
config BLE_LOG_TASK_STACK_SIZE
int "Stack size for BLE Log Task"
default 1024
help
Stack size for BLE Log Task
config BLE_LOG_LBM_TRANS_SIZE
int "Buffer size for each peripheral transport"
default 512

View File

@@ -21,7 +21,7 @@
/* MACRO */
#define BLE_LOG_TASK_PRIO (ESP_TASK_PRIO_MAX - 1)
#define BLE_LOG_TASK_STACK_SIZE (1024)
#define BLE_LOG_TASK_STACK_SIZE CONFIG_BLE_LOG_TASK_STACK_SIZE
#define BLE_LOG_TASK_HOOK_TIMEOUT_MS (1000)
/* INTERFACE */