Skip to content

Commit dd4cbe5

Browse files
author
Zhou Xiao
committed
feat(ble): support host & hci log module
1 parent d353bf2 commit dd4cbe5

File tree

7 files changed

+188
-129
lines changed

7 files changed

+188
-129
lines changed

components/bt/common/Kconfig.in

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,14 @@ config BT_BLE_LOG_SPI_OUT_HCI_ENABLED
2727
help
2828
Enable logging of HCI packets to the SPI bus when BLE SPI log output is enabled.
2929

30+
config BT_BLE_LOG_SPI_OUT_HCI_BUF_SIZE
31+
int "SPI transaction buffer size for HCI logs"
32+
depends on BT_BLE_LOG_SPI_OUT_HCI_ENABLED
33+
default 1024
34+
help
35+
SPI transaction buffer size for HCI logs.
36+
There will be 2 SPI DMA buffers with the same size.
37+
3038
config BT_BLE_LOG_SPI_OUT_HOST_ENABLED
3139
bool "Enable Host log output to SPI"
3240
depends on BT_BLE_LOG_SPI_OUT_ENABLED
@@ -35,6 +43,14 @@ config BT_BLE_LOG_SPI_OUT_HOST_ENABLED
3543
This configuration applies to the logs of both Bluedroid Host and NimBLE Host.
3644
When BLE SPI log output is enabled, this option allows host logs to be transmitted via SPI.
3745

46+
config BT_BLE_LOG_SPI_OUT_HOST_BUF_SIZE
47+
int "SPI transaction buffer size for host logs"
48+
depends on BT_BLE_LOG_SPI_OUT_HOST_ENABLED
49+
default 1024
50+
help
51+
SPI transaction buffer size for host logs.
52+
There will be 2 SPI DMA buffers with the same size.
53+
3854
config BT_BLE_LOG_SPI_OUT_LL_ENABLED
3955
bool "Enable Controller log output to SPI"
4056
depends on BT_BLE_LOG_SPI_OUT_ENABLED

0 commit comments

Comments
 (0)