The printf implementation is faulty #1

Open
opened 2025-09-17 14:37:11 +01:00 by alex · 0 comments
Member

The printf instruction does not work properly:
Writing:
printf("Test1") does not flush the buffer.
Even more, writing
printf("Test2\n") strips the newline char and does not print the buffer.

The stripping of the newline char is not consistent, as this flushes the buffer:
printf("Test%u\n", 3)

Current workaround is using puts("Test4\n)

The printf instruction does not work properly: Writing: `printf("Test1")` does not flush the buffer. Even more, writing `printf("Test2\n")` strips the newline char and does not print the buffer. The stripping of the newline char is not consistent, as this flushes the buffer: `printf("Test%u\n", 3)` Current workaround is using `puts("Test4\n)`
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Firmware/MNRS-BM-BSP#1
No description provided.