I wish to use the Async library, because it would save me a lot of time... I got the last version of the library from http://caolan.github.io/async/index.html . The minified and the non minified files are placed in the modules directory.
The target is Espruino Pico V1.86.
I reset() the target and then import with this code :
var async = require("async");
The import fails and returns:
>echo(0);
ERROR: Out of Memory!
in function called from line 1 col 20814
...lectSeries=t,a.wrapSync=E;}));
^
=undefined
>
The minified file is 20816 bytes (so it should get into memory ?).
It seems that some other Espruino users managed to use Async on Espruino.
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.
Hello,
I wish to use the Async library, because it would save me a lot of time... I got the last version of the library from http://caolan.github.io/async/index.html . The minified and the non minified files are placed in the modules directory.
The target is Espruino Pico V1.86.
I reset() the target and then import with this code :
The import fails and returns:
The minified file is 20816 bytes (so it should get into memory ?).
It seems that some other Espruino users managed to use Async on Espruino.
Any clue and advice is welcome.
GeekBot