Skip to content

Commit 4946a1f

Browse files
author
Zhou Xiao
committed
change(ble): support task buffer number configuration
1 parent b8b7e15 commit 4946a1f

File tree

2 files changed

+214
-83
lines changed

2 files changed

+214
-83
lines changed

components/bt/common/Kconfig.in

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,13 @@ config BT_BLE_LOG_SPI_OUT_HCI_BUF_SIZE
3535
SPI transaction buffer size for HCI logs.
3636
There will be 2 SPI DMA buffers with the same size.
3737

38+
config BT_BLE_LOG_SPI_OUT_HCI_TASK_CNT
39+
int "HCI task count"
40+
depends on BT_BLE_LOG_SPI_OUT_HCI_ENABLED
41+
default 1
42+
help
43+
HCI task count
44+
3845
config BT_BLE_LOG_SPI_OUT_HOST_ENABLED
3946
bool "Enable Host log output to SPI"
4047
depends on BT_BLE_LOG_SPI_OUT_ENABLED
@@ -51,6 +58,13 @@ config BT_BLE_LOG_SPI_OUT_HOST_BUF_SIZE
5158
SPI transaction buffer size for host logs.
5259
There will be 2 SPI DMA buffers with the same size.
5360

61+
config BT_BLE_LOG_SPI_OUT_HOST_TASK_CNT
62+
int "Host task count"
63+
depends on BT_BLE_LOG_SPI_OUT_HOST_ENABLED
64+
default 2
65+
help
66+
Host task count.
67+
5468
config BT_BLE_LOG_SPI_OUT_LL_ENABLED
5569
bool "Enable Controller log output to SPI"
5670
depends on BT_BLE_LOG_SPI_OUT_ENABLED
@@ -155,6 +169,13 @@ config BT_BLE_LOG_SPI_OUT_LE_AUDIO_BUF_SIZE
155169
SPI transaction buffer size for LE Audio logs.
156170
There will be 2 SPI DMA buffers with the same size.
157171

172+
config BT_BLE_LOG_SPI_OUT_LE_AUDIO_TASK_CNT
173+
int "LE audio task count"
174+
depends on BT_BLE_LOG_SPI_OUT_LE_AUDIO_ENABLED
175+
default 1
176+
help
177+
LE audio task count
178+
158179
config BT_BLE_LOG_SPI_OUT_MESH_ENABLED
159180
bool "Enable BLE mesh log output to SPI"
160181
depends on BT_BLE_LOG_SPI_OUT_ENABLED
@@ -169,3 +190,10 @@ config BT_BLE_LOG_SPI_OUT_MESH_BUF_SIZE
169190
help
170191
SPI transaction buffer size for BLE mesh logs.
171192
There will be 2 SPI DMA buffers with the same size.
193+
194+
config BT_BLE_LOG_SPI_OUT_MESH_TASK_CNT
195+
int "Mesh task count"
196+
depends on BT_BLE_LOG_SPI_OUT_MESH_ENABLED
197+
default 3
198+
help
199+
Mesh task count

0 commit comments

Comments
 (0)