Bare Bones port

C programming, build, interpreter/VM.
Target audience: MicroPython Developers.
Post Reply
maxwaldo
Posts: 1
Joined: Tue Apr 26, 2022 6:09 pm

Bare Bones port

Post by maxwaldo » Tue Apr 26, 2022 6:23 pm

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

Post Reply