A few improvements of the l0dable runtime
I was looking at the l0dable CRT and found a few things which could be improved:
- After
main()
exits, don't busy spin but return from the l0dable withepic_exit()
. - In case of an exception, don't lock up the device but also attempt returning with
epic_exit()
. Without this, the only way to recover would be a full reboot of the card10. - Remove some bloat by making all unused interrupt handlers weak references to the default handler.
More details can be found in the individual commit messages.