1. 17 Jan, 2017 1 commit
  2. 19 Nov, 2016 1 commit
  3. 08 Nov, 2016 1 commit
  4. 28 Oct, 2016 1 commit
    • Arnim Läuger's avatar
      Remove luaL_buffer from file_g_read() (#1541) · 9db07783
      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
      9db07783
  5. 05 Sep, 2016 1 commit
    • Arnim Läuger's avatar
      Add FatFs and SD card support (#1397) · ecf8bd98
      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
      ecf8bd98
  6. 05 Jun, 2016 1 commit
    • Philip Gladstone's avatar
      Upgrade to latest SPIFFS and add building of file systems (#1226) · af39a0bc
      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
      af39a0bc
  7. 04 Mar, 2016 1 commit
  8. 26 Feb, 2016 1 commit
    • TerryE's avatar
      Make the wifi.smart functions options and remove wofs and upgrade · 46ea2aa4
      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.
      46ea2aa4
  9. 18 Feb, 2016 1 commit
  10. 13 Feb, 2016 2 commits
  11. 23 Dec, 2015 1 commit
  12. 16 Dec, 2015 2 commits
    • Johny Mattsson's avatar
      Reworked module registration, removed modules.h · 4e8ef87d
      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.
      4e8ef87d
    • TerryE's avatar
      Major cleanup of module registration pass 2. · b773290b
      TerryE authored
      carrying on Johny's edits as per my comments on #810
      b773290b
  13. 12 Dec, 2015 1 commit
    • Johny Mattsson's avatar
      Major cleanup of module registration. · 6b6456be
      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.
      6b6456be
  14. 31 Jul, 2015 1 commit
    • Johny Mattsson's avatar
      Reduced SPIFFS cache, freeing ~0.5k RAM. · 4a47813e
      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.
      4a47813e
  15. 17 Jul, 2015 1 commit
  16. 16 Mar, 2015 1 commit
  17. 09 Mar, 2015 1 commit
  18. 25 Feb, 2015 1 commit
    • Ezekiel-DA's avatar
      Update file.c · c869eddb
      Ezekiel-DA authored
      Made file.seek() return nil on error / EOF, as specified in documentation, instead of returning true.
      c869eddb
  19. 11 Feb, 2015 1 commit
  20. 08 Jan, 2015 1 commit
  21. 07 Jan, 2015 1 commit
  22. 05 Jan, 2015 1 commit
  23. 31 Dec, 2014 1 commit
  24. 22 Dec, 2014 1 commit