1. 09 Jun, 2020 1 commit
  2. 23 Jul, 2019 1 commit
  3. 21 Jul, 2019 1 commit
    • Johny Mattsson's avatar
      Major cleanup - c_whatever is finally history. (#2838) · 526d21da
      Johny Mattsson authored
      The PR removed the bulk of non-newlib headers from the NodeMCU source base.  
      app/libc has now been cut down to the bare minimum overrides to shadow the 
      corresponding functions in the SDK's libc. The old c_xyz.h headerfiles have been 
      nuked in favour of the standard <xyz.h> headers, with a few exceptions over in 
      sdk-overrides. Again, shipping a libc.a without headers is a terrible thing to do. We're 
      still living on a prayer that libc was configured the same was as a default-configured
      xtensa gcc toolchain assumes it is. That part I cannot do anything about, unfortunately, 
      but it's no worse than it has been before.
      
      This enables our source files to compile successfully using the standard header files, 
      and use the typical malloc()/calloc()/realloc()/free(), the strwhatever()s and 
      memwhatever()s. These end up, through macro and linker magic, mapped to the 
      appropriate SDK or ROM functions.
      526d21da
  4. 08 May, 2019 1 commit
  5. 17 Feb, 2019 1 commit
  6. 22 Jan, 2019 1 commit
  7. 28 Oct, 2018 1 commit
  8. 13 Apr, 2018 1 commit
    • dnc40085's avatar
      Refactor timer suspend portion of node.sleep (pmsleep) (#2287) · 96e5c026
      dnc40085 authored
      * pmsleep refactor
      * Shortened swtmr disabled message 
      * Added swtimer debug module option to user_modules.h.
      * Added comments to user_config.h.
      * Fixed error in documentation for node.sleep()
      * remove blank sntp.c that got added in during rebase onto dev(6218b926)
      * Added #ifdefs around SWTIMER_REG_CB to prevent inclusion of disabled
      code
      96e5c026
  9. 21 Mar, 2018 1 commit
  10. 17 Mar, 2018 1 commit
  11. 05 Aug, 2017 1 commit
  12. 11 May, 2017 1 commit
  13. 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
  14. 02 Aug, 2016 1 commit
  15. 13 May, 2016 1 commit
    • dnc40085's avatar
      Updated tmr module and documentation · 17443720
      dnc40085 authored
      * Change upper limit for timer in `tmr_register` and `tmr_interval` to reflect new limit in SDK 1.5.3.
      * Change documentation for `tmr.alarm()`, `tmr.interval()` and `tmr.register()` to match source.
      * Improve error reporting to be more descriptive.
      17443720
  16. 30 Mar, 2016 1 commit
  17. 25 Feb, 2016 1 commit
  18. 21 Jan, 2016 1 commit
  19. 20 Jan, 2016 1 commit
  20. 10 Jan, 2016 1 commit
  21. 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
  22. 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
  23. 05 Nov, 2015 1 commit
  24. 27 Oct, 2015 1 commit
    • Johny Mattsson's avatar
      Fix WDT resets during file.format(). · b535be7a
      Johny Mattsson authored
      With the new SDK soft-wdt it is no longer sufficient to tickle the hardware
      watchdog, so all (found) instances have been changed to system_soft_wdt_feed().
      b535be7a
  25. 29 Jun, 2015 2 commits
  26. 14 May, 2015 2 commits
  27. 10 Apr, 2015 1 commit
    • Kirill's avatar
      Update tmr.c · f19e24c7
      Kirill authored
      According to NodeMCU team recommendations.
      f19e24c7
  28. 11 Mar, 2015 1 commit
  29. 27 Jan, 2015 1 commit
  30. 24 Jan, 2015 1 commit
  31. 05 Jan, 2015 1 commit
  32. 29 Dec, 2014 1 commit
  33. 22 Dec, 2014 1 commit