Merge branch 'bugfix/uart_examples_intr' into 'master'

Update uart examples in uart.h to new interrupt allocation scheme

Some of the examples in the UART header haven't been adjusted to the new interrupt scheme; this fixes that. Also runs dos2unix on the drivers tree; a fair few drivers used DOS-style line ends.

See merge request !313
This commit is contained in:
Jeroen Domburg
2016-12-15 15:15:32 +08:00
3 changed files with 2070 additions and 2070 deletions

View File

@@ -610,10 +610,10 @@ esp_err_t uart_flush(uart_port_t uart_num);
* //b1. Setup UART driver(with UART queue) * //b1. Setup UART driver(with UART queue)
* QueueHandle_t uart_queue; * QueueHandle_t uart_queue;
* //parameters here are just an example, tx buffer size is 2048 * //parameters here are just an example, tx buffer size is 2048
* uart_driver_install(uart_num, 1024 * 2, 1024 * 2, 10, UART_INTR_NUM, &uart_queue); * uart_driver_install(uart_num, 1024 * 2, 1024 * 2, 10, &uart_queue, 0);
* //b2. Setup UART driver(without UART queue) * //b2. Setup UART driver(without UART queue)
* //parameters here are just an example, tx buffer size is 0 * //parameters here are just an example, tx buffer size is 0
* uart_driver_install(uart_num, 1024 * 2, 0, 10, UART_INTR_NUM, NULL); * uart_driver_install(uart_num, 1024 * 2, 0, 10, NULL, 0);
*@endcode *@endcode
*-----------------------------------------------------------------------------* *-----------------------------------------------------------------------------*
* @code{c} * @code{c}