• 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.

  • Hmm, maybe cause by require() statements

  • 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.

  • 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

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

save() on espruino_1v91.122_esp8266 results in immediate Disconnected prompt

Posted by Avatar for Robin @Robin

Actions