1. 22 Jun, 2019 1 commit
    • Johny Mattsson's avatar
      Reworked linker magic to work with IDF 3.3 (#2805) · 51912d55
      Johny Mattsson authored
      With the IDF asserting full control over the linker scripts and insisting on
      the application description being the first entry in the .flash.rodata
      section, or previous method of doing link-time arrays stopped working.
      Why? Because the build patched in a SHA256 digest straight into our arrays.
      
      With the limited language of the gcc linker scripts I could find no other
      way of getting it in cleanly.
      
      The IDF "linker fragments" support can not be made to work for our needs:
        - no support for setting alignment before including objects
        - no support for declaring symbols
        - no support for adding our terminating zeros
        - insists on grouping objects by lib rather than by declared grouping,
          which means we could at most have a single link-time-array using
          the IDF mechanism
        - also does not like underscores in section names, but that's just an
          annoyance
      
      So, the least bad option that I could come up with was to use a project-wide
      makefile snippet to add a target in-between the IDF's generation of the
      esp32.project.ld file, and the linking of our NodeMCU.elf. In this target
      we read in the esp32.project.ld linker script, check whether we have our
      arrays in there, and if not rewrites the linker script.
      
      Oh, and the esp32.project.ld file only came into existence on the IDF 3.3
      branch, so I had to change up the IDF to the latest release/3.3 as well.
      I would've preferred a stable tag, but the v3.3-beta3 had a really nasty
      regression for us (can't add partition entry), so that was a no-go.
      51912d55
  2. 21 Jun, 2019 1 commit
  3. 12 Jun, 2019 1 commit
    • John Lauer's avatar
      ESP32: Pulse counter module released (#2739) · 8b9794b9
      John Lauer authored
      * ESP32: Added pulsecnt module
      
      The pulsecnt module let's you use the ESP32's pulse counter capabilities from Lua.
      
      * ESP32: Pulsecnt module. Better/faster callback.
      
      Reduced the amount of callback variables to speed things up and shift more logic to Lua than in the C code.
      
      * ESP32: Completed docs for pulsecnt
      
      * ESP32: Final release of pulsecnt
      
      * ESP32: Production release of pulsecnt
      
      * ESP32: Release (tweaked docs)
      
      * ESP32: Pulse Counter Release. Cleaned up .gitignore
      
      * ESP32: Pulse counter release (changed ch1 gpio to int to match ch0)
      8b9794b9
  4. 10 Jun, 2019 1 commit
    • Skirmantas Lauzikas's avatar
      ESP32: Add option to set IP/dns config (#2560) · 6d0e4579
      Skirmantas Lauzikas authored
      * ESP32: Add option to set IP/dns config
      
      This commit adds support for setting:
      * Hostname
      * Static IP / Dns server (Sta mode)
      * Changing AP network ip config
      * Setting DNS server IP for DHCP
      
      * ESP32: Documentation for setting IP/dns/hostname config
      
      * Documented new functions
      * sethostname() now returns true if success
      6d0e4579
  5. 31 May, 2019 1 commit
  6. 28 Apr, 2019 2 commits
  7. 20 Feb, 2019 1 commit
  8. 12 Feb, 2019 1 commit
  9. 10 Feb, 2019 1 commit
  10. 31 Jan, 2019 2 commits
  11. 29 Jan, 2019 2 commits
  12. 22 Jan, 2019 1 commit
  13. 18 Jan, 2019 1 commit
  14. 17 Jan, 2019 2 commits
  15. 16 Jan, 2019 1 commit
  16. 15 Jan, 2019 1 commit
  17. 02 Dec, 2018 2 commits
  18. 30 Nov, 2018 1 commit
    • Skirmantas Lauzikas's avatar
      ESP32: add support for RS485 (#2559) · 3257e557
      Skirmantas Lauzikas authored
      * ESP32: add support for RS485
      
      This commit adds support for switching UART mode to RS485/IRDA.
      Also included are patches for memory leaks then handling UART events other than data.
      
      * ESP32: Documentation for uart.setmode()
      3257e557
  19. 26 Nov, 2018 1 commit
    • Skirmantas Lauzikas's avatar
      ESP32: Add time module (#2561) · 794a07bb
      Skirmantas Lauzikas authored
      * ESP32: Add time modules
      
      New time module for manipulating system time/ calendar and controlling SNTP server
      
      * ESP32: Time module documentation & style fixes
      * added documentation for time modules
      * style fixes as pointed out by @devsaurus
      
      * ESP32: Time module small fixes
      * Couple small fixes
      794a07bb
  20. 23 Nov, 2018 1 commit
  21. 22 Nov, 2018 1 commit
    • Skirmantas Lauzikas's avatar
      ESP32: Add SJSON module (#2562) · 423c733d
      Skirmantas Lauzikas authored
      * Esp32: Add SJSON module
      
      This adds SJSON module taken directly from master
      
      * ESP32: Fixes for sjson lib
      Fixed compilation not including config header, thus braking some of libs functionality
      
      * ESP32: Upgraded SJSON to master
      423c733d
  22. 15 Nov, 2018 2 commits
    • tomsci's avatar
      Adding qrcodegen module for generating QR Codes (#2543) · 72d28fa8
      tomsci authored
      * Adding qrcodegen module for generating QR Codes
      
      * Added LUA_MODULE_QRCODEGEN KConfig
      
      * Changed qrcodegen.encodeText() to use an options table
      
      Created common.h with new option table helper fns.
      
      * Reworked http.c to use new common.h options table APIs
      72d28fa8
    • tomsci's avatar
      ESP32: Add Sodium module (#2550) · 1cb1aff4
      tomsci authored
      * Add Sodium module
      
      * Split sodium API into subtables; updated docs
      
      * Fixed refactored names of crypto_box fns
      1cb1aff4
  23. 10 Nov, 2018 1 commit
  24. 08 Nov, 2018 2 commits
    • tomsci's avatar
      5db5d8ed
    • tomsci's avatar
      Add ESP32 http module (#2540) · 73b13e41
      tomsci authored
      * ESP32: Added http module
      
      * add asynchronous flavor for context:request()
      
      (cherry picked from commit e65b90cc8fc5296f7fe6cae1978835e06a9f44bb)
      
      * http: More asynchronous support, more options
      
      * Fix docs typo
      
      * Code review comments from @devsaurus
      
      Fixes some cleanup issues with asynchronous mode
      
      * Added http.md to mkdocs.yml
      
      * Align connection:close() to template
      73b13e41
  25. 04 Nov, 2018 3 commits
  26. 03 Nov, 2018 1 commit
  27. 02 Nov, 2018 1 commit
  28. 29 Oct, 2018 1 commit
    • tomsci's avatar
      Add object-based file API to dev-esp32 branch (#2524) · 48b9518d
      tomsci authored
      * #2521: Add object-based file API to dev-esp32 branch
      
      Merged in from master@c708828bbe853764b9de58fb8113a70f5a24002d minus
      some VFS changes and similar.
      
      * Updated file docs from master
      
      Omitting:
      * file.mount()
      * reference to rtctime.epoch2cal()
      * file.stat()
      
      As these are not available in dev-esp32 branch
      
      Unsure about whether "directories are not supported" is still true
      48b9518d
  29. 20 Oct, 2018 1 commit
  30. 18 Oct, 2018 1 commit
  31. 14 Oct, 2018 1 commit