further semihosting support

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

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;