You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • As @fanoush says, require("Storage").eraseAll() will get rid of everything - but if you had stuff in RAM then that will still run, and if it references stuff that was in flash you'll get the Got [ERASED] expected EOF error - a simple reboot will fix it permanently.

    The easiest fix for that is actually just to do this to clear the device:

    require("Storage").eraseAll();reset()
    
About

Avatar for Gordon @Gordon started