tum-ei-eda / mlonmcu

Tool for the deployment and analysis of TinyML applications on TFLM and MicroTVM backends
Apache License 2.0
29 stars 12 forks source link

Corstone300 simulation does not stop on error #55

Closed PhilippvK closed 2 years ago

PhilippvK commented 2 years ago

The Corstone300 simulator (ARM Cortex-M55 FVP) has a quite annoying exit condition:

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:

PhilippvK commented 2 years ago

fixed via 187d7f9f68e74b8ac2fe1e16dd38adb978e868b1