@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] }
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.
@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:
I've not tested with an SD card - however the modules loads!
1 Attachment