further semihosting support

This commit is contained in:
gabriel committed 2024-04-30 08:48:44 +02:00
1 parent e83f7996bc
commit 9aaf428620
9 files changed
+57 -32

No files matched your search

+1 -1
View File
@@ -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))