Ahh - yes, sorry - forgot to mention that :)
I've tended to manually set JsVars per device, because often you have different memory usage or want to leave a different amount of stack.
Each variable is 20 bytes, so 1800*20 = 36000 (leaving 12k for stack and statically allocated variables). I'd change to (96000-12000)/20 = 4200
1800*20 = 36000
(96000-12000)/20 = 4200
@Gordon started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Ahh - yes, sorry - forgot to mention that :)
I've tended to manually set JsVars per device, because often you have different memory usage or want to leave a different amount of stack.
Each variable is 20 bytes, so
1800*20 = 36000
(leaving 12k for stack and statically allocated variables). I'd change to(96000-12000)/20 = 4200