• Ok, just checked up on this... It's here:

    Not that I can read xtensa assembler but it's actually a pretty small bit of code so it's easy enough to get the idea...

    It looks like you run your code in its own separate stack and then save all the registers when you yield. What are the specs of the ESP8266? Maybe you could reduce the size of the stack that the ESP8266 has, in order to increase the Espruino stack?

    If there's enough RAM to do that then you're laughing. It might mean a few less JsVars available in Espruino but it's probably worth it.

About

Avatar for Gordon @Gordon started