I have the same behaviour with 1v99 on a RAK8212.
After outputting to console "Calculating Size ..." the execution of the save() function just freezes.
I have set up a function that periodically blinks a LED, but even this blinking stops.
I need to press the reset button and re-connect to get an espruino prompt again.
In my case, I have found out that save() works most of the time, but in this particular case my software has registered a callback on incoming data from Serial1 (in my case from the Quectel BG96 modem). I am working with Bluetooth as console. If I throw out the code section that registers that read callback on Serial1, save() works correctly.
So my guess it that save() somehow interferes with Serial1 and then the callback in my software is executed and the complete JS interpreter is blocked.
I currently don't know how to go on finding out what the problem is.
© Espruino, powered by microcosm.
Report a problem