1. 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
  2. 21 Feb, 2016 2 commits
  3. 18 Feb, 2016 2 commits
  4. 17 Feb, 2016 1 commit
    • TerryE's avatar
      Add New Tasking I/F and rework GPIO, UART, etc to support it · 49733f6f
      TerryE authored
      As with the last commit this rolls up the follwowing, but include the various
      review comments on the PR.
      
      -   **Documentation changes**. I've added the taks FAQ as a stub new Extension
      developer FAQ, and split the old FAQ into a Lua Developer FAQ and a Hardware
      FAQ.
      
      -   **Tasking I/F**.  New `app/task/Makefile`, `app/task/task.c`,
      `app/include/task/task.h` and `app/Makefile` as per previous commit.  Cascade
      changes to `app/driver/uart.c`, `app/include/driver/uart.h`,
      `app/user/user_main.c` and `app/modules/node.c`
      
      -   **GPIO Rework** to `app/modules/gpio.c` and `pin_map.[hc]`, `platform.[hc]`
      in `app/platform`
      
      -   **Other Optimisations** Move the `platform_*_exists()` from
      `app/platform/common.c` to static inline declarations in `platform.h` as
      this generates faster, smaller code. Move lgc.a routines out of iram0.
      49733f6f
  5. 14 Feb, 2016 1 commit
    • Henk Vergonet's avatar
      Add i2c based module for am2320 humidity sensor · a1c1e015
      Henk Vergonet authored
      Example use:
      > sda=1
      > scl=2
      > am2320.init(sda,scl)
      > rh, t = am2320.read()
      > print(string.format("Temperature: %s degrees C", t / 10))
      > print(string.format("RH: %s %%", rh / 10))
      
      signed-off-by: henk.vergonet@gmail.com
      a1c1e015
  6. 09 Feb, 2016 1 commit
  7. 30 Jan, 2016 1 commit
  8. 26 Jan, 2016 1 commit
  9. 24 Jan, 2016 1 commit
  10. 23 Jan, 2016 3 commits
  11. 22 Jan, 2016 1 commit
  12. 21 Jan, 2016 1 commit
  13. 20 Jan, 2016 1 commit
  14. 14 Jan, 2016 1 commit
  15. 13 Jan, 2016 1 commit
  16. 05 Jan, 2016 1 commit
  17. 03 Jan, 2016 1 commit
  18. 29 Dec, 2015 1 commit
  19. 23 Dec, 2015 1 commit
  20. 21 Dec, 2015 1 commit
  21. 18 Dec, 2015 1 commit
  22. 16 Dec, 2015 1 commit
    • 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
  23. 28 Nov, 2015 1 commit
  24. 19 Nov, 2015 1 commit
  25. 12 Nov, 2015 1 commit
  26. 09 Nov, 2015 1 commit
  27. 08 Nov, 2015 1 commit
  28. 03 Nov, 2015 2 commits
  29. 01 Nov, 2015 1 commit
  30. 31 Oct, 2015 1 commit
  31. 27 Oct, 2015 1 commit
    • devsaurus's avatar
      simplify spi api · 9444ae28
      devsaurus authored
      duplex_mode configuration enables/disables receiving with spi.send()
      spi.send_recv removed
      9444ae28
  32. 25 Oct, 2015 1 commit
  33. 18 Oct, 2015 3 commits