Skip to content

Commit 2a72558

Browse files
author
Martin Schröder
committed
drivers: net: slip_cobs: add throughput samples
This adds samples for measuring network throughput through slip cobs interface added as part of the same PR.
1 parent d5f5cc7 commit 2a72558

File tree

36 files changed

+3153
-647
lines changed

36 files changed

+3153
-647
lines changed

drivers/net/Kconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ menuconfig SLIP_UART_ASYNC
191191
depends on NET_NATIVE
192192
depends on UART_ASYNC_API
193193
depends on NET_L2_COBS_SERIAL
194+
depends on COBS
194195
select RING_BUFFER
195196
help
196197
Enable SLIP (Serial Line IP) driver using UART async API with
@@ -231,6 +232,14 @@ config SLIP_UART_ASYNC_RINGBUF_SIZE
231232
Size of the ring buffer used to store received UART data
232233
before processing.
233234

235+
config SLIP_UART_ASYNC_RX_BUF_COUNT
236+
int "Number of net_buf structures for RX"
237+
default 8
238+
help
239+
Number of net_buf structures allocated for receiving and
240+
decoding COBS frames. These buffers are chained together
241+
to handle large frames.
242+
234243
config SLIP_UART_ASYNC_RX_STACK_SIZE
235244
int "RX worker stack size"
236245
default 1024

0 commit comments

Comments
 (0)