• Hi,
    I have a esp8266 board with 4mb. I can safely run both of these versions right ?
    I know there is a difference between these two configurations of firmware. The 4MB version has additional graphics library, but only 1600 jsvars (and not 1700). This is defined by these files :
    https://github.com/espruino/Espruino/blob/master/boards/ESP8266_BOARD.py
    https://github.com/espruino/Espruino/blob/master/boards/ESP8266_4MB.py

    But why does the code save at a different place ? The 4MB version saved code use 16 pages of flash (64kb) instead of 3 (kb), but the board still cannot take more than 10kb at once, when I use the WebIDE. Is there a way to use these pages in the _4mb firmware ?

    In the 4MB version, save() erase the 6 first pages returned by require("Flash").getFree(), I use for my custom modules to run from flash. Possibly caused by the 16pages of flash erased. But I don't understand, are they free to use or not ?

About

Avatar for Polypod @Polypod started