esp8266: Make destination for vendor OS debug output soft-configurable.

Use esp.osdebug(None) to disable, or esp.osdebug(uart_id) to send output
to a UART.
This commit is contained in:
Damien George
2016-04-06 00:12:58 +03:00
committed by Paul Sokolovsky
parent e6a4d4e23c
commit 96eca22322
4 changed files with 29 additions and 3 deletions

View File

@@ -93,5 +93,6 @@ void uart_init(UartBautRate uart0_br, UartBautRate uart1_br);
int uart0_rx(void);
void uart_tx_one_char(uint8 uart, uint8 TxChar);
void uart_flush(uint8 uart);
void uart_os_config(int uart);
#endif // _INCLUDED_UART_H_