Thanks a lot Mabe for all your replies. I learned a few things, but honestly, I still feel a bit lost between builds, flash maps, etc.
My context, my current project actually run on my esp12-4mb with the basic 512/512 build. I use 8 modules, executed from flash, with FlashString (http://forum.espruino.com/conversations/290975/) and it's homemade IDE plugin (http://forum.espruino.com/conversations/313069/). I was trying to figure out if I can run it also on other configurations/builds of esp8266, and how to save and execute code from flash in these.
_____ _
| __|___ ___ ___ _ _|_|___ ___
| __|_ -| . | _| | | | | . |
|_____|___| _|_| |___|_|_|_|___|
|_| http://espruino.com
1v95.20 Copyright 2017 G.Williams
Espruino is Open Source. Our work is supported
only by sales of official boards and donations:
http://espruino.com/Donate
Flash map 4MB:1024/1024, manuf 0xc8 chip 0x4016
>process.memory()
={ "free": 1672, "usage": 28, "total": 1700, "history": 0,
"gc": 0, "gctime": 1.357 }
>var g = Graphics.createArrayBuffer(8,8,8);
Uncaught ReferenceError: "Graphics" is not defined
at line 1 col 17
var g = Graphics.createArrayBuffer(8,8,8);
^
>
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.
Thanks a lot Mabe for all your replies. I learned a few things, but honestly, I still feel a bit lost between builds, flash maps, etc.
My context, my current project actually run on my esp12-4mb with the basic 512/512 build. I use 8 modules, executed from flash, with FlashString (http://forum.espruino.com/conversations/290975/) and it's homemade IDE plugin (http://forum.espruino.com/conversations/313069/). I was trying to figure out if I can run it also on other configurations/builds of esp8266, and how to save and execute code from flash in these.
It seems there is 1700 blocks no graphics in the 4mb combined build from http://www.espruino.com/binaries/espruino_1v95_esp8266_4mb_combined_4096.bin.