1. 27 Jul, 2019 1 commit
  2. 23 Jul, 2019 2 commits
  3. 21 Jul, 2019 1 commit
    • Johny Mattsson's avatar
      Major cleanup - c_whatever is finally history. (#2838) · 526d21da
      Johny Mattsson authored
      The PR removed the bulk of non-newlib headers from the NodeMCU source base.  
      app/libc has now been cut down to the bare minimum overrides to shadow the 
      corresponding functions in the SDK's libc. The old c_xyz.h headerfiles have been 
      nuked in favour of the standard <xyz.h> headers, with a few exceptions over in 
      sdk-overrides. Again, shipping a libc.a without headers is a terrible thing to do. We're 
      still living on a prayer that libc was configured the same was as a default-configured
      xtensa gcc toolchain assumes it is. That part I cannot do anything about, unfortunately, 
      but it's no worse than it has been before.
      
      This enables our source files to compile successfully using the standard header files, 
      and use the typical malloc()/calloc()/realloc()/free(), the strwhatever()s and 
      memwhatever()s. These end up, through macro and linker magic, mapped to the 
      appropriate SDK or ROM functions.
      526d21da
  4. 16 Jul, 2019 1 commit
    • Nathaniel Wesley Filardo's avatar
      MQTT tweaks (#2822) · 9f8b74de
      Nathaniel Wesley Filardo authored
      * mqtt:connect() secure parameter should be boolean
      
      Continue to honor the old 0/1 values, but make them undocumented and add
      a deprecation warning to the code and docs.  Eventually, this should go
      away.
      
      * mqtt: rip out deprecated autoreconnect
      
      * mqtt: expose all the callbacks via :on
      9f8b74de
  5. 14 Jul, 2019 1 commit
  6. 11 Jul, 2019 1 commit
  7. 08 Jul, 2019 1 commit
    • Marcel Stör's avatar
      Save the post data in a file on the filesystem (#2810) · 0398c336
      Marcel Stör authored
      * Use cross-browser JS for query params in EUS
      
      * Update EUS doc to explain how to use parameters
      
      * Remove ; in Lua code
      
      * Rewrite the endpoint table
      
      * Do not use properties as global Lua variables
      
      * remove enduser_setup.html.gz
      
      * rename folder 'eus' to 'enduser_setup'
      
      * Change input type for password to "password"
      
      * Replace outdated captive portal screen shot
      0398c336
  8. 05 Jul, 2019 1 commit
  9. 22 Jun, 2019 1 commit
  10. 19 Jun, 2019 1 commit
  11. 01 Jun, 2019 1 commit
  12. 25 May, 2019 1 commit
  13. 19 May, 2019 1 commit
  14. 17 May, 2019 1 commit
  15. 08 May, 2019 1 commit
  16. 07 May, 2019 1 commit
  17. 01 May, 2019 1 commit
  18. 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
  19. 11 Apr, 2019 1 commit
  20. 08 Apr, 2019 1 commit
  21. 05 Apr, 2019 4 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
    • 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
  22. 19 Feb, 2019 1 commit
  23. 17 Feb, 2019 1 commit
  24. 16 Feb, 2019 1 commit
  25. 14 Feb, 2019 1 commit
  26. 02 Feb, 2019 1 commit
  27. 22 Jan, 2019 1 commit
  28. 20 Jan, 2019 1 commit
  29. 15 Jan, 2019 1 commit
    • Nathaniel Wesley Filardo's avatar
      Update TLS protocol support (#2587) · 6e95d74f
      Nathaniel Wesley Filardo authored
      * Update TLS protocol support
      
      TLS1.0 is past PCI's EOL; BEAST is no more
      Enable elliptic curve key exchanges
      	Do not enable the smallest ECs for security
      	Do not enable the largest ECs for computational time
      	Do not enable 25519 (sad) because it doesn't go across the wire
      Drop non-PFS key exchanges
      Drop ARC4, Blowfish, DES, genprime, XTEA code
      Drop renegotiation support completely
      	It takes so much heap that it's not likely to work out well
      
      Tidy handling of SSL_BUFFER_SIZE
      
      Update docs
      Drop mention of startcom, since they are no more, for letsencrypt
      
      * Update mbedtls to 2.7.7
      
      Preserve our vsnprintf and platform hacks
      
      * Introduce TLS maximum fragment size knob
      
      Reduce buffer size to 4Ki by default and advertize that.  That's the
      largest we can advertize with the TLS MFL extension, so there's no
      point in making them larger.  The truly adventurous can re-raise
      SSL_BUFFER_SIZE and undefine the SSL_MAX_FRAGMENT_LENGTH_CODE and get
      back to the earlier behavior.
      
      * Default to mbedTLS debug with DEVELOP_VERSION
      6e95d74f
  30. 16 Dec, 2018 1 commit
    • andyleap's avatar
      Add set clock div (#2572) · 0a500eb9
      andyleap authored
      * Add spi.set_clock_div
      
      This will allow the SPI clock divider to be changed relatively simply,
      to better support multiple devices with varying SPI clock rate support
      
      * Add documentation
      0a500eb9
  31. 05 Dec, 2018 1 commit
  32. 30 Nov, 2018 1 commit
    • Johan Ström's avatar
      Handle large/chunked/fragmented MQTT messages properly (#2571) · 2d958750
      Johan Ström authored
      * MQTT: handle large/chunked/fragmented messages properly
      
      If a message spans multiple TCP packets it must be buffered before
      delivered to LUA. Prior code did not do this at all, so this "patch"
      really adds proper handling of fragmented MQTT packets.
      This could also occur if multiple small messages was sent in a
      single TCP packet, and the last message did not completely fit in that
      packet.
      
      Introduces a new option to the mqtt.Client constructor:
      max_publish_length which defaults to 1024
      
      Introduces a new 'overflow' callback.
      
      Fixes issue #2308 and proper fix for PR #2544.
      
      * mqtt.md: clarified heap allocation
      
      * mqtt: ensure ack is sent for overflowed publish
      
      If QoS is used we should still acknowledge that we received it, or server might retransmit it later.
      2d958750
  33. 16 Nov, 2018 1 commit
    • Carsten Elton Sørensen's avatar
      Calling vol:umount() would fail (#2558) · bb9a5977
      Carsten Elton Sørensen authored
      The volume returned by file.mount() could not be unmounted, because vol:umount() would fail with a cryptic error about the uncallable nature of the volume userdata object. This was due to the wrong metatable name being used for setting up the volume structure. The correct name, as registered elsewhere in file.c, is now used, and vol:umount() is callable.
      bb9a5977
  34. 13 Nov, 2018 1 commit
  35. 28 Oct, 2018 1 commit