Page 1 of 1

Bare Bones port

Posted: Tue Apr 26, 2022 6:23 pm
by maxwaldo
I want to port micropython to a bare bones no OS cortex M33 based board.
So far I have been able to build the bare-bones port to execute from RAM.
However executing "print(5)" causes a an error but does not propoerly print the error trace.
Executing "x=5" causes a INVSTATE hardfault.

any hints on how to debug this would be appriciated greatly!

-- edit --
I have discovered that parsing is working but compilation fails:
assertion "MP_PARSE_NODE_STRUCT_KIND(pns) <= PN_const_object" failed: file "../../py/compile.c", line 2820, function: compile_node