no firmware that's fine. Just trying to upload code and get it to persist across boot (.i.e. move from ram to flash). That's a little sample code above that causes the error.
Actually any code will. The save() function I understand moves code from ram to flash so it persists across boots right? Whenever I append save() I get this error.
The error occurs when I use save() in the webide as well so looks like I am not grokking the purpose save() since the webide allows one to upload to resettable flash how do I invoke that in the command line?
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.
no firmware that's fine. Just trying to upload code and get it to persist across boot (.i.e. move from ram to flash). That's a little sample code above that causes the error.
Actually any code will. The
save()
function I understand moves code from ram to flash so it persists across boots right? Whenever I appendsave()
I get this error.The error occurs when I use
save()
in the webide as well so looks like I am not grokking the purposesave()
since the webide allows one to upload to resettable flash how do I invoke that in the command line?