]> granicus.if.org Git - esp-idf/commitdiff
Merge branch 'feature/vfs_uart_read' into 'master'
authorIvan Grokhotkov <ivan@espressif.com>
Mon, 16 Jan 2017 04:08:22 +0000 (12:08 +0800)
committerIvan Grokhotkov <ivan@espressif.com>
Mon, 16 Jan 2017 04:08:22 +0000 (12:08 +0800)
vfs: implement reading from UART

This change adds support for reading from the UART FIFO via the `stdin`.

Useful for simple cases when handling lots of data is not a requirement (e.g. command prompts operated by humans).

`\r\n` -> `\n` conversion is guided by the existing `CONFIG_NEWLIB_STDOUT_ADDCR` configuration option.

See merge request !393


No differences found