-
• #27
Hmm, maybe cause by require() statements
-
• #28
I have built code with webpack. Result bundle was 7K. It is pretty much same as buint by espruino-tool but without
require
statements.In this case Espruino tried to save 15KB to flash as well.
I saw thread on GitHub regarding
ESP8266_4M
version.
Are you going to extend memory to 64K? If code size is actually takes twice amount of memory it can bee too little.NodeMCU (lua version) ables to use whole chip memory.
-
• #29
Are you going to extend memory to 64K?
The save code area is increased from 12K to 64K
NodeMCU (lua version) ables to use whole chip memory.
I guess you mean flash memory because the ESP8266 has 64K of instruction RAM, 96 K of data RAM
By the way.
I found strange thing.
I'm using espruino-tool to work. I've built code to output file (run with -o bundle.js). Result file takes only 6KB, but in terminal I see that Espruino tried to save 15KB to flash.