1. 06 Jul, 2019 2 commits
  2. 04 Jul, 2019 1 commit
    • Johny Mattsson's avatar
      Improved crypto module for ESP32, now with HMAC (#2815) · e11087bf
      Johny Mattsson authored
      * Leaner, meaner crypto module; now with HMAC
      
      Based on my testing, mbedtls pulls in all its algorithm regardless of
      whether the NodeMCU crypto module was using them or not. As such, the
      space savings from omitting algorithms were only in the tens of bytes.
      
      By switching to using the mbedtls generic message digest interface, the
      crypto module itself could be shrunk in size and complexity. Despite
      adding support for HMAC on all algorithms (plus including RIPEMD160),
      this version is 330 bytes smaller.
      
      * Updated crypto module docs.
      
      * Removed superfluous brackets in crypto docs.
      
      Copy-paste considered harmful... >.>
      e11087bf
  3. 03 Jul, 2019 1 commit
  4. 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
  5. 21 Jun, 2019 1 commit
  6. 12 Jun, 2019 2 commits
    • devsaurus's avatar
      add pulsecnt.md to mkdocs · 5f3c05bd
      devsaurus authored
      5f3c05bd
    • 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
  7. 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
  8. 31 May, 2019 1 commit
  9. 28 Apr, 2019 3 commits
  10. 22 Apr, 2019 5 commits
  11. 17 Apr, 2019 1 commit
  12. 20 Feb, 2019 1 commit
  13. 12 Feb, 2019 1 commit
  14. 10 Feb, 2019 1 commit
  15. 31 Jan, 2019 3 commits
  16. 29 Jan, 2019 2 commits
  17. 22 Jan, 2019 1 commit
  18. 20 Jan, 2019 1 commit
  19. 18 Jan, 2019 1 commit
  20. 17 Jan, 2019 2 commits
  21. 16 Jan, 2019 2 commits
  22. 15 Jan, 2019 1 commit
  23. 13 Jan, 2019 2 commits
  24. 20 Dec, 2018 1 commit
  25. 16 Dec, 2018 1 commit
  26. 02 Dec, 2018 1 commit