1. 20 May, 2019 2 commits
  2. 19 May, 2019 1 commit
  3. 17 May, 2019 2 commits
  4. 08 May, 2019 1 commit
  5. 07 May, 2019 1 commit
  6. 01 May, 2019 1 commit
  7. 28 Apr, 2019 2 commits
    • devsaurus's avatar
      u8g2: fix return value · b7a99358
      devsaurus authored
      b7a99358
    • Arnim Läuger's avatar
      Update u8g2 to v2.25.10 (#2735) · 530c353f
      Arnim Läuger authored
      * Upgrade u8g2 and add updateDisplayArea bindings
      
      * u8g2 2.25.10
      
      * add displays for 2.24.3 and 2.25.10
      
      * remove workaround for hal pointer and make use of u8x8's user_ptr
      
      * fix doc
      
      * add binding for `updateDisplay()`
      530c353f
  8. 19 Apr, 2019 2 commits
  9. 11 Apr, 2019 1 commit
  10. 09 Apr, 2019 2 commits
  11. 08 Apr, 2019 2 commits
  12. 05 Apr, 2019 5 commits
    • Terry Ellison's avatar
    • Terry Ellison's avatar
      SDK 3.0 release (#2692) · 9a471079
      Terry Ellison authored
      * Rebaseline firmware to non-OS SDK version 3.0
      * Note that SDK version 3.0 introduces the concept of a Flash Partition Table(PT).  This is located at Flash offset 0x10000 in our firmware build.
      * The firmware is now PT aware with both LFS and SPIFFS taking their partition size and location from the PT
      * A new tool `tools/nodemcu-partition.py` is now used to initialise these data and can also download LFS and SPIFFS images to these partitions.
      9a471079
    • Nathaniel Wesley Filardo's avatar
      Remove moribund C ds18b20 module (#2492) · b6cd2c3e
      Nathaniel Wesley Filardo authored
      Just use Lua speaking OW (via C) instead.
      b6cd2c3e
    • Nathaniel Wesley Filardo's avatar
      mbedtls bump to 2.7.9 (#2655) · f0565ea5
      Nathaniel Wesley Filardo authored
      No major fixes, but was looking anyway.
      
      Specifically, to
      https://github.com/ARMmbed/mbedtls.git 079e813949251be1e7a9d395abd20b2c63422787
      f0565ea5
    • Natalia's avatar
      I2C sw driver with support of multiple buses, Slow, Fast, FastPlus, and... · ab61e9c0
      Natalia authored
      I2C sw driver with support of multiple buses, Slow, Fast, FastPlus, and user-defined speed selection (#2465)
      
      * I2C driver speed-up, i2c.SLOW, i2c.FAST and user-defined speed selection
      
      * - Multiple buses (up to 10) with different speeds on each bus
      - Standard(Slow, 100kHz), Fast(400kHz) and FastPlus(1MHz) modes or an 
      arbitrary clock speed
      - Sharing SDA line over multiple I²C buses to save available pins
      - GPIO16 pin can be used as SCL pin, but it does not support clock 
      stretching and selected bus will be limited to FAST speed.
      
      * Dynamic memory allocation, error checks, simplification, timing tweaks.
      
      * Separated the code of old driver for better compatibility and simplicity
      
      * Change of driver interface
      
      * Add bus status check in setup(); simplify getDC(); remove unnesessary lines in ACK read/write
      
      * Fix for moved doc file and trailing whitespaces
      ab61e9c0
  13. 24 Mar, 2019 1 commit
  14. 21 Mar, 2019 1 commit
  15. 15 Mar, 2019 1 commit
  16. 09 Mar, 2019 1 commit
  17. 23 Feb, 2019 3 commits
    • Arnim Läuger's avatar
      DHT11 read sometimes failed with checksum error (#2679) · ebd147b3
      Arnim Läuger authored
      * DHT11 read sometimes failed with checksum error.
      
      The code assumed DHT11 devices only ever return zero in the temperature and humidity decimal fraction bytes. The datasheet doesn't guarantee this is the case, and by observation I have noticed that indeed the DHT11 may sometimes return another number, usually close to zero. This means that the code would fail with a checksum error, as the fraction bytes were not included when the checksum was calculated. These bytes are now taken into account and also returned as part of the measurement.
      
      This also means that the related dht.read() function is non-functional. If you have a DHT11 device that returns a non-zero decimal part, dht.read() will interpret it as a DHT22 result and return the wrong measurement. For this reason dht.read() should be retired. This patch does not address this issue.
      ebd147b3
    • ziggurat29's avatar
    • ziggurat29's avatar
      added MSVC project configuration for host-side tools (#2665) · 62789da0
      ziggurat29 authored
      Added MSVC project configuration (@ziggurat29) and support of MinGW (@TerryE) for host-side`luac.cross` tool
      62789da0
  18. 19 Feb, 2019 1 commit
  19. 18 Feb, 2019 2 commits
  20. 17 Feb, 2019 3 commits
  21. 16 Feb, 2019 2 commits
    • Philip Gladstone's avatar
      Initial version of code to support multiple hardware timers (#2497) · d7583040
      Philip Gladstone authored
      * Initial version of code to support multiple hardware timers
      * MAde the time sinca last tick work again
      * Add some documentation to the code
      d7583040
    • Nathaniel Wesley Filardo's avatar
      A generic fifo and fifosock wrapper, under telnet and http server (#2650) · dcc1ea2a
      Nathaniel Wesley Filardo authored
      * lua_modules/fifo: a generic queue & socket wrapper
      
      One occasionally wants a generic fifo, so here's a plausible
      implementation that's reasonably flexible in its usage.
      
      One possible consumer of this is a variant of TerryE's two-level fifo
      trick currently in the telnetd example.  Factor that out to fifosock for
      more general use.
      
      * lua_examples/telnet: use factored out fifosock
      
      * lua_modules/http: improve implementation
      
      Switch to fifosock for in-order sending and waiting for everything to be
      sent before closing.
      
      Fix header callback by moving the invocation of the handler higher
      
      * fifosock: optimistically cork and delay tx
      
      If we just pushed a little bit of data into a fifosock that had idled,
      wait a tick (1 ms) before transmitting.  Hopefully, this means that
      we let the rest of the system push more data in before we send the first
      packet.  But in a high-throughput situation, where we are streaming data
      without idling the fifo, there won't be any additional delay and we'll
      coalesce during operation as usual.
      
      The fifosocktest mocks up enough of tmr for this to run, but assumes
      an arbitrarily slow processor. ;)
      dcc1ea2a
  22. 14 Feb, 2019 1 commit
  23. 13 Feb, 2019 1 commit
  24. 12 Feb, 2019 1 commit
    • ziggurat29's avatar
      Fix occasional luac.cross crash (#2661) · 0c7758a5
      ziggurat29 authored
      A block of memory is accessed after having been freed. This was obscured by the fact that 'oBuf' is a pointer into the middle of the block 'dynamicTables', so when dynamicTables is freed, oBuf is pointing to freed memory. Occasionally, luac.cross would crash because of this.
      0c7758a5