• @ManoBiletsky
    The zip file contains espruino_esp8266_user1.bin and espruino_esp8266_user2.bin

    To compile:

    export USE_FILESYSTEM=1
    and I commented out USE_GRAPHICS in the Makefile as there is not enough space for both.

    This change is also needed as the macro fails:

    void jswrap_file_skip_or_seek(JsVar* parent, int nBytes, bool is_skip) {
      if (nBytes<0) {
        //jsWarn(is_skip ? "Bytes to skip must be >=0" : "Position to seek to must be >=0");
        if ( is_skip) jsWarn("Bytes to skip must be >=0");
        if ( is_skip <= 0 ) jsWarn( "Position to seek to must be >=0");
        return;
      }
    

    I've not tested with an SD card - however the modules loads!

     _____                 _
    |   __|___ ___ ___ _ _|_|___ ___
    |   __|_ -| . |  _| | | |   | . |
    |_____|___|  _|_| |___|_|_|_|___|
              |_| http://espruino.com
     1v86.113 Copyright 2016 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:512/512, manuf 0xe0 chip 0x4016
    
    >fs=require('fs');
    =function () { [native code] }
    

    1 Attachment

About

Avatar for Wilberforce @Wilberforce started