Contiki 2.5
dbg-puts.c
1 #include <stdio.h>
2 #include <debug-uart.h>
3 #include <string.h>
4 
5 int
6 puts(const char *str)
7 {
8  dbg_send_bytes((unsigned char*)str, strlen(str));
9  dbg_putchar('\n');
10  return 0;
11 }