You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • Which version of the Espruino firmware do you have? The way things get saved changed a few versions ago.

    If it's up to date though then everything is saved into a filesystem - if you do require('Storage').list() then you get a list of all the files.

    If you do E.setBootCode(...) then that'll save just the code in the string you supplied. After that, you can remove the other (save()d) file from flash and you'll be sorted.

    If it's an earlier version then literally just calling E.setBootCode should blow away any code that you save()d :)

About

Avatar for Gordon @Gordon started