44#define write_byte(b) usb_serial_writeb(b)
45#define flush() usb_serial_flush()
47#define write_byte(b) uart_write_byte(DBG_CONF_UART, b)
57 static char debug_frame = 0;
Header file for cc2538's UART-like I/O over USB.
unsigned int dbg_send_bytes(const unsigned char *s, unsigned int len)
Print a stream of bytes.
int dbg_putchar(int c)
Print a character to debug output.
Header file for the cc2538 UART driver.