b105b40e9a
Added some replacements for newlib's stdout. Added missing startup code. Some minor fixes.
11 lines
179 B
C
11 lines
179 B
C
#include <stdio.h>
|
|
#include <debug-uart.h>
|
|
#include <string.h>
|
|
|
|
int
|
|
puts(const char *str)
|
|
{
|
|
dbg_send_bytes((unsigned char*)str, strlen(str));
|
|
dbg_putchar('\n');
|
|
return 0;
|
|
}
|