mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-30 00:41:17 +01:00
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.