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

16 lines
441 B
C
Raw Normal View History

2017-11-22 00:53:42 +00:00
/*---------------------------------------------------------------------------*/
2017-11-22 01:23:59 +00:00
#include "contiki.h"
#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
/*---------------------------------------------------------------------------*/