Interrupt driven stdin UART driver

This commit is contained in:
Johan Kanflo 2015-10-26 14:30:45 +01:00
parent 8f6c297849
commit 3b194e8894
8 changed files with 161 additions and 71 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;