You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Corstone300 simulator (ARM Cortex-M55 FVP) has a quite annoying exit condition:
It waits until EXITTHESIM is printed to the terminal by the target software.
When a program executed successfully, this will be done at the end of the main function, however if execution stops earlier with an call to exit(1) (i.e. from TVMPlatformAbort()) we currently can not catch this.
We need to find a workaround for this. Here are some ideas:
Try to overwrite the exit() function in the MLIF lib
Figure out if atexit() would work
The text was updated successfully, but these errors were encountered:
The Corstone300 simulator (ARM Cortex-M55 FVP) has a quite annoying exit condition:
EXITTHESIM
is printed to the terminal by the target software.When a program executed successfully, this will be done at the end of the
main
function, however if execution stops earlier with an call toexit(1)
(i.e. fromTVMPlatformAbort()
) we currently can not catch this.We need to find a workaround for this. Here are some ideas:
exit()
function in theMLIF
libatexit()
would workThe text was updated successfully, but these errors were encountered: