You are reading a single comment by @DrAzzy and its replies. Click here to read the full conversation.
  • Uh, I have some more bad news. This with 2200 variable Espruino image:

    >reset();
    =undefined
     _____                 _ 
    |   __|___ ___ ___ _ _|_|___ ___ 
    |   __|_ -| . |  _| | | |   | . |
    |_____|___|  _|_| |___|_|_|_|___|
              |_| http://espruino.com
     1v63 Copyright 2014 G.Williams
    >echo(0);
    ERROR: Too much recursion - the stack is about to overflow at line 1 col 11
    {this.i2c.writeTo(119,b);return this.i2c.readFrom(119,1)[0]}
               ^
    at line 1 col 11
    {this.i2c.writeTo(119,b);return this.i2c.readFrom(11e,1)[0]}
               ^
    in function "read8" called from  
    

    (after which the espruino froze).

    This was with the latest desk lamp driver code - but the point is that the code works with the stock 1800 variable firmware, but gets this bizzaro error with 2200 variables. As far as I can tell, it got through loading a bunch of modules, but then when the time came for it to run the connect() method and actually use that code it had cached, it blows up....

    I'm becoming pessimistic...

About

Avatar for DrAzzy @DrAzzy started