first semihosting integration

This commit is contained in:
gabriel
2024-02-26 20:41:15 +01:00
parent 532f7e9bb8
commit 39ee91af7d
5 changed files with 219 additions and 1 deletions

View File

@ -0,0 +1,14 @@
#ifndef SEMIHOSTING_H
#define SEMIHOSTING_H
//int32_t trace_write(const char* buf, uint32_t nbyte);
void sh_write0(const char* buf);
void sh_writec(char c);
char sh_readc(void);
int getchar(void);
extern int sh_missing_host;
#endif