nes-proj/arch/cpu/arm/common/dbg-io/dbg-puts.c

14 lines
419 B
C
Raw Normal View History

2017-11-22 00:53:42 +00:00
/*---------------------------------------------------------------------------*/
#include <stdio.h>
#include <debug-uart.h>
#include <string.h>
2017-11-22 00:53:42 +00:00
/*---------------------------------------------------------------------------*/
int
puts(const char *str)
{
2017-11-22 00:58:50 +00:00
dbg_send_bytes((unsigned char *)str, strlen(str));
dbg_putchar('\n');
return 0;
}
2017-11-22 00:53:42 +00:00
/*---------------------------------------------------------------------------*/