exclude rom headers in examples

1. avoid including rom headers directly in examples
2. add common API interface for CRC calculation in esp_common component
This commit is contained in:
suda-morris
2019-05-22 20:21:11 +08:00
parent 5e39718c22
commit b1497f2187
19 changed files with 1292 additions and 92 deletions

View File

@@ -841,6 +841,14 @@ esp_err_t uart_set_wakeup_threshold(uart_port_t uart_num, int wakeup_threshold);
*/
esp_err_t uart_get_wakeup_threshold(uart_port_t uart_num, int* out_wakeup_threshold);
/**
* @brief Wait until UART tx memory empty and the last char send ok (polling mode).
*
* @param uart_num UART number
*
*/
void uart_wait_tx_idle_polling(uart_port_t uart_num);
#ifdef __cplusplus
}
#endif