further semihosting support
This commit is contained in:
@@ -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