mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-11-09 10:16:01 +03:00
Remove newlib dependency, include own stdio/string/assert
This commit is contained in:
1 parent
d52523185f
commit
d09829dcc6
8 files changed
+948
-198
No files matched your search
@@ -0,0 +1,15 @@
|
||||
#include <stdio.h>
|
||||
#include "uart_console.h"
|
||||
|
||||
int fputc(int c, FILE *stream)
|
||||
{
|
||||
UART_PutChar(c);
|
||||
return c;
|
||||
}
|
||||
|
||||
int fputs(const char *s, FILE *stream)
|
||||
{
|
||||
while (*s != '\0')
|
||||
UART_PutChar(*s++);
|
||||
return 0;
|
||||
}
|
||||
Reference in new issue
Block a user