Interrupt driven stdin UART driver
This commit is contained in:
parent
8f6c297849
commit
3b194e8894
8 changed files with 161 additions and 71 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue