- 17 Jan, 2017 1 commit
-
-
Arnim Läuger authored
* add file.stat() * set default time/date to 1970-01-01 use lua_setfield
-
- 19 Nov, 2016 1 commit
-
-
Arnim Läuger authored
* handle error condition in file.read() * simplify loop initialization
-
- 08 Nov, 2016 1 commit
-
-
Arnim Läuger authored
-
- 28 Oct, 2016 1 commit
-
-
Arnim Läuger authored
* remove luaL_buffer from file_g_read() - avoid memory leak when function gets terminated by lua_error - skip scanning for end_char when reading until EOF * attempt to free memory in any case
-
- 05 Sep, 2016 1 commit
-
-
Arnim Läuger authored
* Add FatFs * enable BUILD_FATFS for all-module build * push vfs into rest of firmware * align maximum filename length * increase timeout for acmd41 during card initialization * switch from DOS to Unix path semantics chdrive() is substituted by chdir() * update to fatfs R.012a incl. patches 1-6 * add callback for rtc provisioning in file * update docs
-
- 05 Jun, 2016 1 commit
-
-
Philip Gladstone authored
Fixes #1164 and thus also #1150, #1149, #1147 and #898. * Move to latest version of SPIFFS * Add SPIFFS porting layer for NodeMCU * Add option to delete output if it doesn't fit * Change FLASHSIZE to be in bits by default: default 4mb 32mb * Add SPIFFS_MAX_FILESYSTEM_SIZE override * Add notes on SPIFFS_FIXED_LOCATION * Add 1M boundary * Include the current version of the LICENSE
-
- 04 Mar, 2016 1 commit
-
-
TerryE authored
-
- 26 Feb, 2016 1 commit
-
-
TerryE authored
AFAIK no one uses the wifi.startsmart() and wifi.stopsmart(). Removing them frees up an extra 20-25K of Flash to use as filesystem. So I have added a new config define WIFI_SMART_ENABLE which is enabled by default so the default functionality is the same, but if this is commented out then this code is omitted. I have also removed wofs and upgrade from this build as we no longer support these.
-
- 18 Feb, 2016 1 commit
-
-
Johny Mattsson authored
-
- 13 Feb, 2016 2 commits
- 23 Dec, 2015 1 commit
-
-
Johny Mattsson authored
Removed earlier TCP port randomisation fix - the new SDK has its own fix even though Espressif told me they wouldn't fix it. Yay?
-
- 16 Dec, 2015 2 commits
-
-
Johny Mattsson authored
Module creation & registration now made a lot simpler. In essence, each module file is now self-contained and only needs a NODEMCU_MODULE(MYNAME, "myname", myname_map, luaopen_myname); line to both be automatically recognised by the Lua initialization as well as honor the LUA_USE_MODULES_MYNAME #define.
-
TerryE authored
carrying on Johny's edits as per my comments on #810
-
- 12 Dec, 2015 1 commit
-
-
Johny Mattsson authored
As per #810 & #796, only LUA_OPTIMIZE_MEMORY=2 & MIN_OPT_LEVEL=2 are supported when building. This commit effects that limitation. With this change modules/auxmods.h no longer needs to be updated for every new module, nor do module writers need to cater for a hypothetical LUA_OPTIMIZE_MEMORY < 2 scenario.
-
- 31 Jul, 2015 1 commit
-
-
Johny Mattsson authored
Also made the cache on/off configurable via user_config.h. Uncached writes are not a very good idea, but for read-only deployments a further ~0.5k RAM can be gained by disabling the cache. Tweaked the file.read() workhorse to read large chunks at a time rather than use getc(), to compensate for potential unavailability of cache.
-
- 17 Jul, 2015 1 commit
-
-
Johny Mattsson authored
-
- 16 Mar, 2015 1 commit
-
-
funshine authored
-
- 09 Mar, 2015 1 commit
-
-
funshine authored
-
- 25 Feb, 2015 1 commit
-
-
Ezekiel-DA authored
Made file.seek() return nil on error / EOF, as specified in documentation, instead of returning true.
-
- 11 Feb, 2015 1 commit
-
-
funshine authored
-
- 08 Jan, 2015 1 commit
-
-
funshine authored
-
- 07 Jan, 2015 1 commit
-
-
funshine authored
-
- 05 Jan, 2015 1 commit
-
-
HuangRui authored
-
- 31 Dec, 2014 1 commit
-
-
funshine authored
-
- 22 Dec, 2014 1 commit
-
-
funshine authored
-