1. 19 Nov, 2021 1 commit
    • Johny Mattsson's avatar
      Minor Lua fixes. (#3467) · 1965a12e
      Johny Mattsson authored
      Discovered over on the dev-esp32-idf4 branch.
      
      - Off by one error in loadLFS, leading to slight memory leak and
        potential corruption.
      
      - Insufficient return value check in loadLFS, where uzlib may return
        one of two success conditions, one of which would result in an
        out-of-bounds access and related pain.
      
      - One case of a side effect within a lua_assert(), leading to
        silently broken LFS image handling when compiling without asserts
        enabled, the issue showing up as module names being shuffled around.
      
      - Incorrect encoding of TValues in LFS when 64bit numbers in use.
      1965a12e
  2. 09 Jan, 2021 1 commit
  3. 06 Jan, 2021 1 commit
  4. 24 Dec, 2020 1 commit
  5. 25 Nov, 2020 1 commit
  6. 07 Nov, 2020 1 commit
  7. 29 Aug, 2020 1 commit
  8. 22 Aug, 2020 1 commit
  9. 16 Jun, 2020 1 commit
  10. 09 Jun, 2020 8 commits
  11. 23 Jul, 2019 2 commits
  12. 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
  13. 19 May, 2019 1 commit
  14. 17 May, 2019 1 commit
  15. 08 May, 2019 1 commit
  16. 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
  17. 24 Mar, 2019 1 commit
  18. 21 Mar, 2019 1 commit
  19. 23 Feb, 2019 2 commits
  20. 17 Feb, 2019 1 commit
  21. 24 Jan, 2019 1 commit
  22. 15 Jan, 2019 1 commit
  23. 09 Dec, 2018 1 commit
  24. 03 Dec, 2018 1 commit
  25. 23 Nov, 2018 1 commit
  26. 13 Oct, 2018 1 commit
    • Terry Ellison's avatar
      Optimise ROTable accesses and interface (#2505) · 5f67de8d
      Terry Ellison authored
      -  Optimise ROTable accesses and interface
      
      This includes some refinements to the ROTable cache which remove the linker cludges on the CROSS_COMPILE builds.  Also keyhole tweaks to some of the Lua VM code to implrove runtimes.
      
      I also noticed some compile time warnings during the build; the change to uz_unzip.c doesn't impact the compiled code, but does remove the compiler warnings.
      5f67de8d
  27. 10 Oct, 2018 1 commit
  28. 29 Sep, 2018 1 commit
  29. 27 Aug, 2018 1 commit
  30. 11 Aug, 2018 2 commits