1. 07 11月, 2020 1 次提交
  2. 06 11月, 2020 4 次提交
  3. 04 11月, 2020 6 次提交
  4. 03 11月, 2020 22 次提交
  5. 27 10月, 2020 2 次提交
  6. 19 10月, 2020 1 次提交
  7. 17 10月, 2020 1 次提交
  8. 14 10月, 2020 3 次提交
    • A
      Corrections of Stream.Find, FindUntil and added FindMulti - like AVR-Core Libraries (#3442) · 25bd585c
      Alexandre Trevizoli 提交于
      * Corrections of Find, FindUntil and FindMulti
      
      Find has some bug that is not working with Ethernet.find() so, I copied code from Stream.h and Stream.cpp in AVR-CORE library and now it's working perfectly.
      I don't know where was the error, but an Ethernet.find compiled to MEGA2560 was working but not working when compiled to esp32, after corrections of code (copy of AVR-Core libraries) it's working perfect.
      So probably has some error on original ESP32-Core library.
      
      Below is part of code that was working with MEGA2560 and not with ESP32 libraries.
      client.find never return TRUE with ESP32 original library and with AVR it's works.
      
      boolean esp32_fw_update(EthernetClient &client, DecodedHeader &header, const String &field_filename, const String &field_crc) {
      
        char bound[header.boundary.length()+3];
        char term[]="\r\n";
        
        strcpy(bound,header.boundary.c_str());
        strcat(bound,term);
        while (client.find(bound)) { 
          String line=client.readStringUntil('\r');
      
      * Update Stream.h
      
      * Update Stream.cpp
      Co-authored-by: NMe No Dev <me-no-dev@users.noreply.github.com>
      25bd585c
    • D
      Add an aditional (void *) arg to the RMT callback (much like Ticker() et.al.). (#3345) · d79a1f3d
      Dirk-Willem van Gulik 提交于
      * Add an aditional (void *) arg to the RMT callback - to allow more flexible handling of the callback (e.g. by passing a private struct or a class pointer). Same pattern as used by the Ticker() and many others. Example updated & new example with a trapoline added.
      
      * Fix example for new API
      
      * Fix lint warnings
      
      * Add a second missed example.
      
      * Correct timeout & improve socket error handling.
      d79a1f3d
    • M
      Rename eep -> partitions.bin & hex -> bin (#4143) · 831f0ac2
      Marco Sirabella 提交于
      This is in line with the
      [arduino platform specification](https://arduino.github.io/arduino-cli/platform-specification/#recipes-for-extraction-of-executable-files-and-other-binary-data)
      specifying that the file extension after recipe.objcopy is arbitrary and
      that the AVR platform uses `eep` & `hex`, while the esp32 platform seems
      to have file extensions `partition.bin` & `bin`
      831f0ac2