1. 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
  2. 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
  3. 22 Jul, 2019 1 commit
  4. 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
  5. 18 Jan, 2019 1 commit