I'm in the process of porting uPy to the Tiva Launchpad.
I recently finished some of the pin control and while testing on the REPL I noticed this assertion error:
Code: Select all
from umachine import Pin p = Pin.board.PF2 p.init(Pin.OUT) p.on() p.off() p.on() p.off() Assertion 'MP_PARSE_NODE_STRUCT_KIND(pns) <= PN_const_object' failed, at file ../../py/compile.c:2746
I suspect a GC issue, because the board only has 32kB SRAM? But I have no idea really