If the assert is false, the VM will raise an exception and exit because there is no capability to catch exceptions.
Do a simple test, such as " assert True; print 'survived!' " and see what happens.
!!Dean
On Dec 3, 2013, at 12:54 AM, Abbas Chunawala wrote:
> I have made the HAVE_ASSERT and HAVE_IMPORT flags to true but these changes do not seem to work as whenever an assert is encountered in a script the board hangs.Is there anything that i am missing ?
>
> --
> --
> You are subscribed to the "python-on-a-chip" (or p14p for short) Google Group.
> Site:
http://groups.google.com/group/python-on-a-chip
>
> ---
> You received this message because you are subscribed to the Google Groups "python-on-a-chip" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
python-on-a-ch...@googlegroups.com.
> For more options, visit
https://groups.google.com/groups/opt_out.