Adding semihosting support for bmsp
This commit is contained in:
@@ -3,9 +3,14 @@
|
||||
#include <errno.h>
|
||||
#include "stub.h"
|
||||
#include "weak_under_alias.h"
|
||||
#include "semihosting.h"
|
||||
|
||||
int __wrap_close(int fd)
|
||||
{
|
||||
#if defined(SEMIHOTING)
|
||||
int i = sh_close(fd);
|
||||
return i;
|
||||
#endif
|
||||
return _stub(EBADF);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user