component/bt : increase the task stack size

1. increase HCI task stack size
2. increase BTC task stack size for default
This commit is contained in:
Tian Hao 2016-12-13 19:34:07 +08:00
parent fd11beebcd
commit 5e87cdec7e
2 changed files with 5 additions and 5 deletions

View file

@ -10,7 +10,7 @@ config BT_ENABLED
config BTC_TASK_STACK_SIZE config BTC_TASK_STACK_SIZE
int "BT event (callback to application) task stack size" int "BT event (callback to application) task stack size"
default 2048 default 3072
help help
This select btc task stack size This select btc task stack size

View file

@ -43,15 +43,15 @@ enum {
SIG_BTIF_WORK = 0xff SIG_BTIF_WORK = 0xff
}; };
#define HCI_HOST_TASK_STACK_SIZE 1024 #define HCI_HOST_TASK_STACK_SIZE 1500
#define HCI_HOST_TASK_PRIO (configMAX_PRIORITIES - 3) #define HCI_HOST_TASK_PRIO (configMAX_PRIORITIES - 3)
#define HCI_HOST_TASK_NAME "hciHostT" #define HCI_HOST_TASK_NAME "hciHostT"
#define HCI_HOST_QUEUE_NUM 30 #define HCI_HOST_QUEUE_NUM 40
#define HCI_H4_TASK_STACK_SIZE 1024 #define HCI_H4_TASK_STACK_SIZE 1500
#define HCI_H4_TASK_PRIO (configMAX_PRIORITIES - 3) #define HCI_H4_TASK_PRIO (configMAX_PRIORITIES - 3)
#define HCI_H4_TASK_NAME "hciH4T" #define HCI_H4_TASK_NAME "hciH4T"
#define HCI_H4_QUEUE_NUM 40 #define HCI_H4_QUEUE_NUM 60
#define BTU_TASK_STACK_SIZE 4096 #define BTU_TASK_STACK_SIZE 4096
#define BTU_TASK_PRIO (configMAX_PRIORITIES - 1) #define BTU_TASK_PRIO (configMAX_PRIORITIES - 1)