raiden00pl opened a new pull request, #20181:
URL: https://github.com/apache/nuttx/pull/20181
## Summary
`uart_writev()` queues output one byte at a time via `uart_putxmitchar()`.
Add `uart_putxmitbuf()` that `memcpy()`s a whole run into the TX ring buffer
and use it when no per-byte processing is needed (`OPOST` and `ECHO` clear,
not a console). On a full buffer fall back to `uart_putxmitchar()`, which
keeps the blocking and error handling unchanged.
8 MiB `write()` to `/dev/ttyACM0` on nRF52840: 455 -> 573 KB/s.
Guarded by `CONFIG_SERIAL_TXBULK`, default `!DEFAULT_SMALL`
## Impact
improve raw output serial performances
## Testing
stream ADC data on nordic power kit 2 with 100ksps which is performance
achieved by original nordic firmware
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]