1. 04 Nov, 2021 1 commit
    • Johny Mattsson's avatar
      Make node.output() RTOS thread safe. · a0c9085c
      Johny Mattsson authored
      Also removed old, very unsafe node.osoutput(). We're now integrating cleanly
      with the IDF/newlib way of redirecting stdout.
      
      Added necessary depends in Kconfig to ensure VFS support is enabled, as
      otherwise you'd only get a mysterious crash when attempting to enable
      output redirection.
      a0c9085c
  2. 16 Sep, 2021 1 commit
  3. 22 Aug, 2021 1 commit
  4. 21 Aug, 2021 1 commit
    • Johny Mattsson's avatar
      Port Terry's Lua 5.1 + 5.3 work from the esp8266 branch. · 17df207a
      Johny Mattsson authored
      Changes have been kept to a minimum, but a serious chunk of work was
      needed to move from 8266isms to IDFisms.
      
      Some things got refactored into components/lua/common, in particular
      the LFS location awareness.
      
      As part of this work I also evicted our partition table manipulation
      code, as with the current IDF it kept breaking checksums and rendering
      things unbootable, which is the opposite of helpful (which was the
      original intent behind it).
      
      The uart module got relocated from base_nodemcu to the modules component
      properly, after I worked out how to force its inclusion using Kconfig alone.
      17df207a
  5. 11 Aug, 2021 1 commit
    • Johny Mattsson's avatar
      Add ESP32C3 support/coexistence. · f123d462
      Johny Mattsson authored
      The uzlib and parts of Lua had to be switched over to use the
      C standard int types, as their custom typedefs conflicted with
      RISC-V toolchain provided typedefs.
      
      UART console driver updated to do less direct register meddling
      and use the IDF uart driver interface for setup. Still using our
      own ISR rather than the default driver ISR. Down the line we
      might want to investigate whether the IDF ISR would be a better
      fit.
      
      Lua C modules have been split into common and ESP32/ESP32-S
      specific ones. In the future there might also be ESP32-C3
      specific modules, which would go into components/modules-esp32c3
      at that point.
      
      Our old automatic fixup of flash size has been discarded as it
      interferes with the checksumming done by the ROM loader and
      results in unbootable systems. The IDF has already taken on
      this work via the ESPTOOL_FLASHSIZE_DETECT option, which handles
      this situation properly.
      f123d462
  6. 15 Jul, 2021 1 commit
  7. 23 Aug, 2020 1 commit
  8. 27 Oct, 2019 1 commit
    • John Lauer's avatar
      Add touch sensor module (#2863) · 9a5327ca
      John Lauer authored
      * Touch module 1st checkin
      * ESP32. Check-in 2 for Touch sensor module
      * ESP32: Touch module. Sample Lua code.
      * ESP32: Latest YouTube vid
      * ESP32: Touch docs update
      * Added opt_* methods for value retrieval
      9a5327ca
  9. 20 Jul, 2019 1 commit
  10. 06 Jul, 2019 1 commit
    • Johny Mattsson's avatar
      OTA support for ESP32 (#2812) · ca89bff0
      Johny Mattsson authored
      * Implemented otaupgrade module.
      
      * Added partition table example for otaupgrade.
      
      * Copy-paste omission. Whoops.
      
      * Updated otaupgrade docs after review.
      ca89bff0
  11. 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
  12. 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
  13. 18 Jan, 2019 1 commit
  14. 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
  15. 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
  16. 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
  17. 08 Nov, 2018 1 commit
    • 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
  18. 14 Oct, 2018 1 commit
  19. 13 Oct, 2018 1 commit
  20. 07 Oct, 2018 2 commits
  21. 14 Jul, 2018 1 commit
  22. 01 Feb, 2018 1 commit
  23. 11 Aug, 2017 1 commit
    • larsstenberg's avatar
      ESP32: Ledc driver module (#2027) · 40e0be29
      larsstenberg authored
      * Inital commit for supporting ledc driver
      
      * Added documentation. More fade functions and better naming of constants
      
      * Better field checking during setup. Updated documentation
      
      * Reworked LEDC module to be used with an object model to decrease repetition of parameters
      40e0be29
  24. 13 Jun, 2017 2 commits
  25. 14 May, 2017 1 commit
  26. 07 May, 2017 1 commit
    • zelll's avatar
      ESP32: CAN module (#1958) · ff30f479
      zelll authored
      * can extension
      
      * can extension: bit timing and filter
      
      * can -> CAN
      
      * post CAN data callback
      
      * CAN docs
      
      * CAN: fixed receive, filter, extended frame
      
      * reorder fn in can.md, remove driver_can/Kconfig
      
      * fixed a leak when can.stop()
      ff30f479
  27. 30 Apr, 2017 1 commit
  28. 24 Apr, 2017 1 commit
  29. 14 Apr, 2017 2 commits
  30. 17 Mar, 2017 1 commit
  31. 07 Mar, 2017 2 commits
  32. 02 Feb, 2017 1 commit
  33. 13 Jan, 2017 1 commit
  34. 26 Nov, 2016 1 commit
  35. 17 Nov, 2016 1 commit