4 #if defined MW_DEVBOARD_V2 || MW_DEBUG_UART
5 void init_debug_uart(void);
6 void debug_uart_tx_char(const char c);
7 void debug_uart_tx(const char *buf);
8 char debug_uart_rx_char(char *c);
9 void debug_dump_hex(const uint16_t len, const void *buf);
10 void debug_dump_ascii(const uint16_t len, const void *buf);
12 #define debug_uart_tx(args...) {}
13 #define debug_uart_tx_char(args...) {}
14 #define debug_dump_hex(args...) {}
15 #define debug_dump_ascii(args...) {}