Skip to content

Commit 243705c

Browse files
author
Zhou Xiao
committed
feat(ble): Improved SPI BLE Log functionality
* Added checksum for every frame * Added SPI slave transaction interval workaround * Added SPI tx done isr issue workaround * Turned buffer flush to a menuconfig and disabled by default * Modified packet loss write operation and trigger condition * Optimized buffer append efficiency for controller ISR
1 parent ca58556 commit 243705c

File tree

2 files changed

+127
-114
lines changed

2 files changed

+127
-114
lines changed

components/bt/common/Kconfig.in

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,3 +93,18 @@ config BT_BLE_LOG_SPI_OUT_SYNC_IO_NUM
9393
default 3
9494
help
9595
GPIO number of SYNC IO
96+
97+
config BT_BLE_LOG_SPI_OUT_FLUSH_TIMER_ENABLED
98+
bool "Enable periodic buffer flush out"
99+
depends on BT_BLE_LOG_SPI_OUT_ENABLED
100+
default n
101+
help
102+
Enable periodic buffer flush out
103+
Not recommended when SPI receiver is unavailable
104+
105+
config BT_BLE_LOG_SPI_OUT_FLUSH_TIMEOUT
106+
int "Buffer flush out period in unit of ms"
107+
depends on BT_BLE_LOG_SPI_OUT_FLUSH_TIMER_ENABLED
108+
default 1000
109+
help
110+
Buffer flush out period in unit of ms

0 commit comments

Comments
 (0)