Merge branch 'bugfix/config_btu_stack_size_by_menuconfig_v3.1' into 'release/v3.1'

components/bt: Config BTU stack size by menuconifg

See merge request espressif/esp-idf!9386
This commit is contained in:
Jiang Jiang Jian 2020-07-12 21:35:40 +08:00
commit dbbffc816a
2 changed files with 8 additions and 1 deletions

View File

@ -195,6 +195,13 @@ config BTC_TASK_STACK_SIZE
help help
This select btc task stack size This select btc task stack size
config BTU_TASK_STACK_SIZE
int "Bluetooth Bluedroid Host Stack task stack size"
depends on BLUEDROID_ENABLED
default 4096
help
This select btu task stack size
config BLUEDROID_MEM_DEBUG config BLUEDROID_MEM_DEBUG
bool "Bluedroid memory debug" bool "Bluedroid memory debug"
depends on BLUEDROID_ENABLED depends on BLUEDROID_ENABLED

View File

@ -72,7 +72,7 @@ typedef enum {
#define HCI_H4_QUEUE_LEN 1 #define HCI_H4_QUEUE_LEN 1
#define BTU_TASK_PINNED_TO_CORE (TASK_PINNED_TO_CORE) #define BTU_TASK_PINNED_TO_CORE (TASK_PINNED_TO_CORE)
#define BTU_TASK_STACK_SIZE (4096 + BT_TASK_EXTRA_STACK_SIZE) #define BTU_TASK_STACK_SIZE (CONFIG_BTU_TASK_STACK_SIZE + BT_TASK_EXTRA_STACK_SIZE)
#define BTU_TASK_PRIO (configMAX_PRIORITIES - 5) #define BTU_TASK_PRIO (configMAX_PRIORITIES - 5)
#define BTU_TASK_NAME "btuT" #define BTU_TASK_NAME "btuT"
#define BTU_QUEUE_LEN 50 #define BTU_QUEUE_LEN 50