1. 16 May, 2017 1 commit
  2. 04 Apr, 2017 1 commit
    • dnc40085's avatar
      Add wifi.suspend() and node.sleep() (#1231) · 41a5736d
      dnc40085 authored
      * Exposed forced sleep API and more
      Added timer suspend functionality
      * wifi.suspend
      * wifi.resume
      * node.sleep 
      * tmr.suspend
      * tmr.suspend_all
      * tmr.resume
      * tmr.resume_all
      * Implement timer suspend functionality
      * Fix for uart TX glitch
      * Made some modifications to the error reporting
      41a5736d
  3. 08 Nov, 2016 1 commit
  4. 27 Oct, 2016 1 commit
  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. 04 Sep, 2016 1 commit
  7. 04 Aug, 2016 1 commit
  8. 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
  9. 18 May, 2016 1 commit
    • Johny Mattsson's avatar
      Rework ADC mode setting approach (#1285) · 30d354c2
      Johny Mattsson authored
      - Stop fighting against the SDK in terms of owning/writing the init_data block.
        NodeMCU included a default init_data block because originally the SDK did
        not, but by now it's not needed.
      
      - Expose a way to reconfigure the ADC mode from Lua land. With most people
        using the cloud builder and not able to change the #define for byte 107
        this has been a pain point.
      
      - Less confusion about which init_data has been used. Lua code can now simply
        state what mode it wants the ADC to be in, and not worry about the rest of
        the init_data complexities such as the init_data changing location due to
        flashing with wrong flash_size setting, or doing/not doing a chip-erase
        before loading new NodeMCU firmware.
      30d354c2
  10. 17 Apr, 2016 1 commit
  11. 01 Apr, 2016 1 commit
    • dnc40085's avatar
      Modified wifi module · 5e9ab015
      dnc40085 authored
      Implement SDK event monitor
      Move wifi status event monitor code into seperate file
      (app/modules/wifi_eventmon.c)
      Modify wifi lua callback registration code.
      Add Functions wifi.ap.deauth and wifi.sta.getrssi
      Rework wifi event monitor to use tasking interface
      fix for Lua coroutine compatibility issue
      Made changes Suggested by TerryE
      
      Also, moved code that sets the default host name out of
      luaopen_wifi_init and into a separate function and added a post_task_low
      entry in it's place.
      
      Replaced some if test then return error lines with
      luaL_argcheck
      Add check for malloc null return in wifi.eventmon 
      to catch out of memory errors
      5e9ab015
  12. 20 Mar, 2016 1 commit
  13. 09 Mar, 2016 1 commit
  14. 01 Mar, 2016 1 commit
  15. 29 Feb, 2016 1 commit
    • philip's avatar
      Squashed commit of the following: · d40ee50a
      philip authored
      commit 2c7c3fc3985cc32866e8af496abea9971eaee90a
      Merge: 9179dae 41022c3b
      Author: philip <philip@gladstonefamily.net>
      Date:   Sun Feb 28 14:47:47 2016 -0500
      
          Merge remote-tracking branch 'upstream/dev' into rotary_2
      
      commit 9179dae0824e6b35ad09e5113aacc26dc91692c0
      Author: philip <philip@gladstonefamily.net>
      Date:   Fri Feb 26 20:53:27 2016 -0500
      
          Review comments
      
      commit 67741170e20ccb2b636e701f0664feff2aafbb4c
      Author: philip <philip@gladstonefamily.net>
      Date:   Fri Feb 26 20:59:49 2016 -0500
      
          Squashed commit of the following:
      
          commit 8c9a64731c4a8b9aedda18a399b433b173d2199f
          Merge: 085935f 19d3c1d5
          Author: philip <philip@gladstonefamily.net>
          Date:   Fri Feb 26 20:58:10 2016 -0500
      
              Merge remote-tracking branch 'upstream/dev' into rotarymod
      
              Conflicts:
              	app/platform/platform.c
      
          commit 085935fc56986d607ff5e05d1663970331959c34
          Author: philip <philip@gladstonefamily.net>
          Date:   Fri Feb 26 20:53:27 2016 -0500
      
              Review comment
      
          commit 7732fd2d1044f28b8fcf5b0aa0f76d76fe80f449
          Author: philip <philip@gladstonefamily.net>
          Date:   Sat Feb 20 12:10:38 2016 -0500
      
              Module to handle rotary decoders
      
              Eliminate ROTARY_DEBUG
      
              Remove unused file
      
      Eliminate a malloc call
      
      Cleaned up the register code. Now 0x114 bytes
      
      Fix bug with clearing bits in one case
      
      Fix the type in the #define name
      d40ee50a
  16. 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
  17. 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
  18. 05 Jan, 2016 1 commit
  19. 03 Jan, 2016 1 commit
  20. 12 Nov, 2015 1 commit
  21. 09 Nov, 2015 1 commit
  22. 08 Nov, 2015 1 commit
  23. 01 Nov, 2015 1 commit
  24. 12 Oct, 2015 1 commit
  25. 30 Sep, 2015 1 commit
  26. 31 Jul, 2015 2 commits
    • 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
    • Bernd Meyer's avatar
      More sensible cjson realloc strategy. · 595509a7
      Bernd Meyer authored
      595509a7
  27. 27 Jun, 2015 2 commits
  28. 05 Jun, 2015 1 commit
  29. 03 Jun, 2015 1 commit
  30. 15 Mar, 2015 1 commit
  31. 12 Mar, 2015 1 commit
  32. 06 Mar, 2015 1 commit
  33. 03 Mar, 2015 1 commit
  34. 17 Feb, 2015 1 commit
  35. 16 Feb, 2015 2 commits
    • HuangRui's avatar
      Enable EGC. · c05fc843
      HuangRui authored
      c05fc843
    • HuangRui's avatar
      Update to SDK 0.9.6_b1 · 05fe3ea9
      HuangRui authored
      The open source LWIP is broken, use espressif's liblwip.a.
      Uses system_get_vdd33 instead of readvdd33.
      The espressif's sdk0.9.6 beta1 (2015.02.15) release note
      1、Optimize smartconfig to version v0.8;
      2、Optimize AT to version 0.22.b1;
      1>、Fixed bugs;
      2>、Optimize the speed of transparent transmission;
      3、Optimize boot to version 1.3(b3);
      1>、Fix compatibility problem of dual flash ;
      4、Solve problem of the large current in deep sleep;
      5、Fixed problem “check mem fail”;
      6、Fixed problem of UDP socket may stop listening broadcast packet after a long time running under some special router;
      7、Fixed bug related to wifi_station_scan;
      8、Other optimize to make the software more reliable;
      05fe3ea9
  36. 13 Feb, 2015 2 commits