1. 21 5月, 2019 1 次提交
    • E
      Release 2.5.2 (#6121) · 8b899c12
      Earle F. Philhower, III 提交于
      Changes since 2.5.1 (to 2.5.2)
      
      Core
      ----
      * Add explicit Print::write(char) (#6101)
      
      Build system
      ----
      * Fix typo in elf2bin for QOUT binary generation (#6116)
      * Support PIO Wl-T and Arduino -T linking properly (#6095)
      * Allow *.cc files to be linked into flash by default (#6100)
      * Use custom "ElfToBin" builder for PIO (#6091)
      * Fail if generated JSON file cannot be read (#6076)
      * Moved 'Dropping' print from stdout to stderr in drop_versions.py (#6071)
      * Fix PIO issue when build environment contains spaces (#6119)
      
      Libraries
      ----
      * Remove deadlock when server is not acking our data (#6107)
      * Bugfix for stuck in write method of WiFiClient and WiFiClientSecure until the remote peer closed connection (#6104)
      * Re-add original SD FAT info access methods (#6092)
      * Make FILE_WRITE append in SD.h wrapper (#6106)
      * Drop X509 after connection, avoid hang on TLS broken (#6065)
      8b899c12
  2. 20 5月, 2019 3 次提交
  3. 19 5月, 2019 3 次提交
    • E
      Re-add original SD FAT info access methods (#6092) · b5560759
      Earle F. Philhower, III 提交于
      Fixes #6081
      
      The SD rewrite blanked out some of the internal FAT info.. Restore the
      function calls and return proper values.
      
      Because size() is used in many printf()s, we can't just change its
      return type to uint64.  Instead, when size is > size-max warn.
      
      Add SD.size64 which can be used by new apps who care about >4GB cards.
      Prints a warning if debugging enabled
      b5560759
    • E
      Add explicit Print::write(char) (#6101) · 82adc95d
      Earle F. Philhower, III 提交于
      W/o this change, file::write('a'); tries to use the template and fails
      since char is a basic type.
      
      The reason it is needed is due to pre 2.5.x behavior, File::write(char)
      silently was cast to File::write(uint8_t).  With the template write,
      though, this is not performed.
      
      * Add Print::write tests and add'l overrides
      
      Ensure that print::write does something sane and doesn't cause a compile
      time error about templates when used for Files.
      
      Test using SPIFFS file since Print is an abstract type.
      82adc95d
    • E
      Support PIO Wl-T and Arduino -T linking properly (#6095) · 48fc8aff
      Earle F. Philhower, III 提交于
      The interrupt vectors in IRAM are omitted when there is a PROVIDE
      statement in the linker control files when using the PIO method of
      -Wl,-T<linkfile>.
      
      Drop the PROVIDES (they're in RAM anyway and not ROM related), and
      add the required "-u"s to the PIO build script.
      
      Should have no impact on the Arduino side.
      
      Fixes #6087
      48fc8aff
  4. 17 5月, 2019 2 次提交
  5. 16 5月, 2019 2 次提交
    • E
      Allow *.cc files to be linked into flash by default (#6100) · 2dff28ab
      Earle F. Philhower, III 提交于
      Fixes #6096
      2dff28ab
    • D
      Drop X509 after connection, avoid hang on TLS broken (#6065) · 75f01dc3
      Dave 提交于
      * Drop X509 context after successful server verification to save heap space
      
      After completing handshake in BSSL, server is already verified and X509 context is no longer needed. Depending on verification method it save more or less heap space.
      
      * Bugfix: Report not connected if there is no ready data and TLS connection is broken
      
      Added the change for reporting not connected if TLS session is broken and there is no more buffered decrypted data. TLS can be broken if message authentication (MAC) cannot be verified. BearSSL enters BR_SSL_CLOSED state when processing invalid encrypted application data fragment. In such situation the current implementation get stuck forever unless user has own timeout mechanism build on top of WiFiClientSecureBearSSL. This change introduce fail fast via connected() returning false. Further it imply return -1 from read methods indicating broken channel upon which user should perform reconnect if needed.
      
      Fixes #6005
      75f01dc3
  6. 15 5月, 2019 1 次提交
  7. 14 5月, 2019 3 次提交
  8. 13 5月, 2019 1 次提交
  9. 12 5月, 2019 3 次提交
  10. 11 5月, 2019 4 次提交
  11. 10 5月, 2019 1 次提交
  12. 08 5月, 2019 1 次提交
  13. 07 5月, 2019 1 次提交
  14. 06 5月, 2019 1 次提交
  15. 04 5月, 2019 4 次提交
  16. 03 5月, 2019 3 次提交
  17. 02 5月, 2019 1 次提交
  18. 01 5月, 2019 5 次提交
    • D
      fix switching to static address with lwip2 (#6026) · 17500226
      david gauchard 提交于
      fix switching to static address with lwip2
      
      For some reason, ip address is not propagated in a visible way for lwip2
      when switching to static address (wifi.config()) *after* wifi.begin().
      
      This patch calls lwip-v1.4's netif_set_addr() with the new ip address to set
      all things up, just like it is done and right when wifi.begin() is called
      after wifi.config().
      
      Also tested when IPv6 is enabled.
      
      fix documentation: It is more natural to set an IP address before starting WiFi
      (.. and not after dhcp has started)
      fixes #5839
      fixes #6024
      17500226
    • E
      Upgrade to https: serving for JSON, links in docs (#5992) · 93ef9e70
      Earle F. Philhower, III 提交于
      * Upgrade to https: serving for JSON, links in docs
      
      Fixes #5480
      
      * Update boards.rst documentation
      
      * Update more documentation http: refs to https:
      
      * Remove obsolete staging info
      
      * Drop obsolete versions from JSON programatically
      
      After the final merge is done on the JSON, strip out any named versions
      from the final product.
      
      Removing 1.6.5-* and 2.5.0-beta(1,2,3) for now.
      
      * Remove 2.4.0-rc(0/1) from JSON, too
      93ef9e70
    • D
      Update DigestAuthorization.ino (#6029) · 0da69064
      Develo 提交于
      Fix WiFiClient vs. HttpClient declaration order
      0da69064
    • D
      Update StreamHttpClient.ino (#6030) · 33a4c6a5
      Develo 提交于
      Fix WiFiClient vs. HttpClient declaration order
      Fixes #6028
      33a4c6a5
    • J
      Fix spi slave timing (library SPISlave) (#6022) · 13589b1c
      Jiri Bilek 提交于
      * Fix timing of MISO signal
      
      * Fix comment
      13589b1c