1. 09 Jun, 2020 2 commits
  2. 27 Jul, 2019 5 commits
  3. 23 Jul, 2019 1 commit
  4. 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
  5. 17 May, 2019 1 commit
  6. 08 May, 2019 1 commit
  7. 01 May, 2019 1 commit
  8. 05 Apr, 2019 1 commit
    • Terry Ellison's avatar
      SDK 3.0 release (#2692) · 9a471079
      Terry Ellison authored
      * Rebaseline firmware to non-OS SDK version 3.0
      * Note that SDK version 3.0 introduces the concept of a Flash Partition Table(PT).  This is located at Flash offset 0x10000 in our firmware build.
      * The firmware is now PT aware with both LFS and SPIFFS taking their partition size and location from the PT
      * A new tool `tools/nodemcu-partition.py` is now used to initialise these data and can also download LFS and SPIFFS images to these partitions.
      9a471079
  9. 17 Feb, 2019 1 commit
  10. 22 Jun, 2018 1 commit
  11. 20 May, 2018 1 commit
  12. 08 May, 2018 1 commit
  13. 26 Apr, 2018 1 commit
  14. 19 Apr, 2018 1 commit
  15. 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
  16. 06 Apr, 2018 1 commit
    • Johny Mattsson's avatar
      Tie in the EGC with the SDK's heap knowledge. (#2319) · 085f35da
      Johny Mattsson authored
      Added `node.egc.meminfo()` to expose LVM usage (to make the regular
      `node.egc.ON_MEM_LIMIT` option usable).
      
      Extended the `node.egc.ON_MEM_LIMIT` option to also take negative limits,
      in which case that's taken as a request to keep a certain amount of heap
      available for non-Lua use.
      085f35da
  17. 17 Mar, 2018 1 commit
  18. 16 May, 2017 1 commit
  19. 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
  20. 14 Mar, 2017 1 commit
  21. 26 Dec, 2016 1 commit
  22. 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
  23. 04 Aug, 2016 1 commit
  24. 02 Aug, 2016 1 commit
  25. 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
  26. 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
  27. 20 Mar, 2016 1 commit
  28. 06 Mar, 2016 1 commit
  29. 03 Mar, 2016 1 commit
  30. 01 Mar, 2016 1 commit
  31. 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
  32. 20 Feb, 2016 1 commit
  33. 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
  34. 20 Jan, 2016 1 commit
  35. 15 Jan, 2016 1 commit