You are reading a single comment by @g_lander and its replies. Click here to read the full conversation.
  • So I've been trying to do a firmware thing for this, where certain Espruino builds would automatically save and load vardumps made with jsfSaveToFlash (I intend on making a format with a timestamp and maybe a dump of the current Graphics state?) on load calls, but I can't seem to figure it out - I save the vardump and load it with the same js*SoftKill and js*SoftInit things as the real save and load do, but it doesn't seem to load the variables, and instead just run an empty instance, as if there was no loading done at all.
    @Gordon Can you help me figure out what's wrong, and maybe tell me if something with a concept like this would be merged?
    Source code: https://github.com/TheGLander/Espruino/t­ree/suspend-runtime

About

Avatar for g_lander @g_lander started