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

+3 -4
View File
@@ -1,11 +1,10 @@
/* See LICENSE of license details. */
#include <unistd.h>
#include "weak_under_alias.h"
#include "semihosting.h"
#include "weak_under_alias.h"
#include <unistd.h>
int __wrap_isatty(int fd)
{
int __wrap_isatty(int fd) {
#if defined(SEMIHOSTING)
int i = sh_istty(fd);
return i;