Remove newlib dependency, include own stdio/string/assert

This commit is contained in:
Harald Welte committed 2017-02-27 23:00:26 +01:00
1 parent d52523185f
commit d09829dcc6
8 files changed
+948 -198

No files matched your search

+15
View File
@@ -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;
}