further semihosting support
This commit is contained in:
1 parent
e83f7996bc
commit
9aaf428620
9 files changed
+57
-32
No files matched your search
+1
-1
@@ -12,7 +12,7 @@ off_t __wrap_lseek(int fd, off_t ptr, int dir)
|
||||
#if defined(SEMIHOSTING)
|
||||
if(sh_istty(fd))
|
||||
return 0;
|
||||
sh_seek();
|
||||
sh_seek(fd, ptr);
|
||||
return ptr;
|
||||
#endif
|
||||
if (isatty(fd))
|
||||
|
||||
Reference in new issue
Block a user