extras/stdin_uart_interrupt: stdin via IRQ driven RX driver on UART0

See examples/terminal/ for usage
This commit is contained in:
Johan Kanflo 2015-08-07 22:41:13 +02:00 committed by Angus Gratton
parent 5301174290
commit 4cfe40d348
8 changed files with 306 additions and 1 deletions

View file

@ -52,7 +52,7 @@ long _write_r(struct _reent *r, int fd, const char *ptr, int len )
}
/* syscall implementation for stdio read from UART */
long _read_r( struct _reent *r, int fd, char *ptr, int len )
__attribute__((weak)) long _read_r( struct _reent *r, int fd, char *ptr, int len )
{
int ch, i;