1. 26 Jan, 2022 1 commit
  2. 16 Sep, 2021 1 commit
    • Johny Mattsson's avatar
      Fixup LROT_MASKs for all modules. · ea968de6
      Johny Mattsson authored
      Search-and-replace considered harmful. I completely missed the need to
      explicitly declare "fast" tag functions (__xyz) in the mask field to
      LROT_BEGIN()/LROT_END() when I brought over the 5.1+5.3 support.
      Without those flags set properly, the LVM doesn't even bother going
      looking for those methods, which in this case led to garbage collection
      not calling the __gc functions, among other horrible things.
      
      Mea culpa.
      ea968de6
  3. 23 Aug, 2021 2 commits
  4. 22 Aug, 2021 1 commit
  5. 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
  6. 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
  7. 26 Jul, 2021 1 commit
  8. 22 Jul, 2019 1 commit
  9. 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