瀏覽代碼

component/bt : increase the task stack size

1. increase HCI task stack size
2. increase BTC task stack size for default
Tian Hao 9 年之前
父節點
當前提交
5e87cdec7e
共有 2 個文件被更改,包括 5 次插入5 次删除
  1. 1 1
      components/bt/Kconfig
  2. 4 4
      components/bt/bluedroid/osi/include/thread.h

+ 1 - 1
components/bt/Kconfig

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

+ 4 - 4
components/bt/bluedroid/osi/include/thread.h

@@ -43,15 +43,15 @@ enum {
     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_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_NAME			"hciH4T"
-#define HCI_H4_QUEUE_NUM			40
+#define HCI_H4_QUEUE_NUM			60
 
 #define BTU_TASK_STACK_SIZE			4096
 #define BTU_TASK_PRIO				(configMAX_PRIORITIES - 1)