1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-30 00:41:17 +01:00
RIOT/pkg/mpaland-printf
Marian Buschsieweke 30a4647047
pkg/mplaland-printf: Use buffered output
With this patch a small (64 byte) on-stack is buffer is used. On stdio
transports with extremely high overhead per call of `stdio_write()`
(like e.g. telnet or semihosting), this will make the stdio usable again.

Compared to e.g. the stdio from newlib, the increased stack requirements
are still modest.

In addition, the RIOT integration now also checks the return value of
`stdio_write()` and loops until all output has been written, fixing
loss of output if a transport does not write all data in one go.
2025-10-24 11:45:28 +02:00
..