I've discovered a crash caused by initialising the Graphics library twice (it seems to be a recent regression). Hopefully I'll get a fix out tomorrow.
However, the way to make it work for now is to make sure that there's no call to onInit() in the code that you upload. Then, you can call save(), and when the save is done Espruino will restart and will automatically call onInit() itself.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Are you doing something to do with Graphics?
I've discovered a crash caused by initialising the Graphics library twice (it seems to be a recent regression). Hopefully I'll get a fix out tomorrow.
However, the way to make it work for now is to make sure that there's no call to
onInit()
in the code that you upload. Then, you can callsave()
, and when the save is done Espruino will restart and will automatically callonInit()
itself.