Adding semihosting support for bmsp
This commit is contained in:
@@ -2,9 +2,14 @@
|
||||
|
||||
#include <unistd.h>
|
||||
#include "weak_under_alias.h"
|
||||
#include "semihosting.h"
|
||||
|
||||
int __wrap_isatty(int fd)
|
||||
{
|
||||
#if defined(SEMIHOSTING)
|
||||
int i = sh_istty(fd);
|
||||
return i;
|
||||
#endif
|
||||
if (fd == STDOUT_FILENO || fd == STDERR_FILENO)
|
||||
return 1;
|
||||
|
||||
|
Reference in New Issue
Block a user