Merge 4473eb7dbd into dc0fa4e207
This commit is contained in:
commit
7a7dd658fa
7 changed files with 218 additions and 1 deletions
|
|
@ -50,8 +50,9 @@ long _write_r(struct _reent *r, int fd, const char *ptr, int len )
|
|||
/* syscall implementation for stdio read from UART
|
||||
|
||||
at the moment UART functionality is all still in the binary SDK
|
||||
but there is support for IRQ driven UART0 RX in extras/serial-driver
|
||||
*/
|
||||
long _read_r( struct _reent *r, int fd, char *ptr, int len )
|
||||
long __attribute__((weak)) _read_r( struct _reent *r, int fd, char *ptr, int len )
|
||||
{
|
||||
if(fd != r->_stdin->_file) {
|
||||
r->_errno = EBADF;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue