Contiki 3.x
uart0-putchar.c
1 #include "dev/uart0.h"
2 
3 #if !NETSTACK_CONF_WITH_IPV4
4 /* In case of IPv4: putchar() is defined by the SLIP driver */
5 int
6 putchar(int c)
7 {
8  uart0_writeb((char)c);
9  return c;
10 }
11 #endif /* ! NETSTACK_CONF_WITH_IPV4 */