1. 13 Feb, 2016 1 commit
  2. 23 Dec, 2015 1 commit
  3. 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
  4. 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
  5. 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
  6. 17 Jul, 2015 1 commit
  7. 16 Mar, 2015 1 commit
  8. 09 Mar, 2015 1 commit
  9. 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
  10. 11 Feb, 2015 1 commit
  11. 08 Jan, 2015 1 commit
  12. 07 Jan, 2015 1 commit
  13. 05 Jan, 2015 1 commit
  14. 31 Dec, 2014 1 commit
  15. 22 Dec, 2014 1 commit