Elektrine lite

← Feed

@dbauer@social.caserio.de

Post #3537899

2026-06-10 22:28 UTC

Remember: just because your logging doesn't have to be fast doesn't mean you shouldn't let it sit around BLOCKING INTERRUPTS BY CALLING HAL_UART_Transfer. Well, my printf statement informing me a new udp stream has opened was enough to drop the next couple ethernet frames. Which was subsequently logged to uart. Which caused even more packages to be dropped... Turns out: I never actually fully implemented a ring buffer. Now my _write syscall to stdout or is blazingly fast. #embedded

Replies (0)

No replies.