You are reading a single comment by @Sacha and its replies. Click here to read the full conversation.
  • Hi Gordon

    Thanks for your help. How much mem will eval use ? I think i allocate some spare space ?

    var evalneed='How much is needed for eval ?';
    if (x===undefined) { throw new Error("Not enough RAM for .bootcde"); }
        else {
             evalneed=''; // Required for eval
    // Ugly hack !
            eval('var x = E.toString(".bootcde")); ST.eraseAll(); ST.write(".bootcde",x); console.log("survived");');
           // Here i do a reset via my custom watchdog function.

Avatar for Sacha @Sacha started