further semihosting support
This commit is contained in:
1 parent
e83f7996bc
commit
9aaf428620
9 files changed
+57
-32
No files matched your search
+2
-2
@@ -17,10 +17,10 @@ void write_hex(int fd, uint32_t hex);
|
||||
|
||||
void __wrap_exit(int code)
|
||||
{
|
||||
#if defined(SEMIHOSTING)
|
||||
/*#if defined(SEMIHOSTING)
|
||||
sh_exit();
|
||||
return;
|
||||
#endif
|
||||
#endif*/
|
||||
//volatile uint32_t* leds = (uint32_t*) (GPIO_BASE_ADDR + GPIO_OUT_OFFSET);
|
||||
const char message[] = "\nProgam has exited with code:";
|
||||
//*leds = (~(code));
|
||||
|
||||
Reference in new issue
Block a user