ab91e07753
Added hid_listen USB device for arm_atsam USB protocol. Debug printing is now done through the console device (CONSOLE_ENABLE = yes) rather than the virtser device, for viewing in hid_listen. Function dpf(...) renamed to CDC_printf(...) and should now be called directly if intending to print to the virtual serial device.
12 lines
167 B
C
12 lines
167 B
C
#ifndef _PRINTF_H_
|
|
#define _PRINTF_H_
|
|
|
|
#define CONSOLE_PRINTBUF_SIZE 512
|
|
|
|
void console_printf(char *fmt, ...);
|
|
|
|
#define __xprintf console_printf
|
|
|
|
#endif //_PRINTF_H_
|
|
|