1. 19 Aug, 2021 1 commit
  2. 18 Aug, 2021 2 commits
  3. 17 Aug, 2021 1 commit
    • me-no-dev's avatar
      Add log_buf to pretty print buffers · b580bb23
      me-no-dev authored
      ```
      /* 0x0000 */ 0x7b, 0x7b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,    // {{..............
      /* 0x0010 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,    // ................
      ```
      b580bb23
  4. 16 Aug, 2021 1 commit
  5. 12 Aug, 2021 2 commits
    • Rodrigo Garcia's avatar
      Fixes Touchpad Interrupt (#5527) · 2af8cc34
      Rodrigo Garcia authored
      Fixes #5493 
      
      ## Summary
      PR #4996 has broken Touch Interrupt functionality by removing a single line of code used to set a Register.
      
      
      ## Impact
      This PR fixes issue #5493 by reverting the removal of necessary code as described above.
      2af8cc34
    • Me No Dev's avatar
      Fix I2C Scan for S2 and C3 (#5528) · e5bd18d6
      Me No Dev authored
      Thanks @chegewara
      
      I2C Scan was failing because i2c_master_write does not accept size of 0. This change checks and skips that call if no length is provided (usually when scanning)
      e5bd18d6
  6. 11 Aug, 2021 5 commits
  7. 02 Aug, 2021 5 commits
    • Me No Dev's avatar
      Add initial support for USB MSC (#5466) · 5bb8177a
      Me No Dev authored
      * Add initial support for USB MSC
      
      * Add Firmware Upload/Download With MSC
      
      Current running firmware is available as file inside the MSC Disk. To update the firmware on the ESP, just copy a regular firmware bin into the drive
      
      * Support overwriting of the firmware file
      
      Overwriting a file is done totally differently on MacOS, Windows and Linux. This change supports it on all of them.
      
      * Allow CDC, FirmwareMSC and DFU to be enabled on boot
      
      * Add example ESP32-S2 USB-ONLY board
      
      * Various device code optimizations
      
      Added `end()` methods to MSC classes
      Made begin() methods safe to be called multiple times
      Optimized CDC class
      
      * Fix CDC Connect/Disconnect detection in Arduino IDE on Windows
      
      * Rework cdc_write
      
      * Update ESP32-S2 board configs
      5bb8177a
    • Krzysiek S's avatar
      [WiFiClient] Default connection timeout, when no timeout provided (#5487) · be84c821
      Krzysiek S authored
      ## The problem
      WiFiClient's connect method variant where no timeout is passed can block esp32 MCU and may then cause watchdog to kick in and reset the device. This behavior is different from that, what is in arduino-esp8266 core.
      
      ## Summary
      Some cross-esp libraries (working both on esp32 and 8266), like PubSubClient simply call connect method on WiFiClient, to get connected to remote server. However, connect behavior varies betwen esp arduino 8266 and esp arduino 32 cores. This pull request tries introduce same behavior - to make connect method non-blocking on esp32, like it is with 8266 arduino core.
      
      ## Proposed solution
      Introduce default fixed timeout that can be changed by #define - by default set to 3 seconds.
      
      ### Affected components: 
      WiFiClient
      
      ### Affected methods:
      ```c++ 
      int connect(IPAddress ip, uint16_t port);
      int connect(const char *host, uint16_t port);
      ```
      
      ### Impact
      May impact projects or libraries using connect method variant without specified timeout, where:
      - remote is located far away or
      - connection is heavily limited, or
      - remote is slow, when it comes to accept the connection
      be84c821
    • t-oot's avatar
      Support for Transfer-Encoding headers that specify "identify" (#5486) · 31127f42
      t-oot authored
      In [HTTPClient](https://github.com/espressif/arduino-esp32/tree/master/libraries/HTTPClient), if the `Transfer-Encoding` header is set to `identity`, an error (Transfer-Encoding not supported) will occur.
      
      HTTPClient will consider the request as `identity` if the `Transfer-Encoding` header is not set. But it is also defined a response with `identity` explicitly set in the `Transfer-Encoding` header (ref:[MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Transfer-Encoding)).
      
      This pull request will allow the request to be processed normally even when `identity` is explicitly set.
      31127f42
    • me-no-dev's avatar
    • me-no-dev's avatar
  8. 29 Jul, 2021 2 commits
  9. 26 Jul, 2021 6 commits
  10. 22 Jul, 2021 3 commits
  11. 21 Jul, 2021 2 commits
  12. 20 Jul, 2021 2 commits
    • me-no-dev's avatar
      Fix Windows USB issues · 4ada3f58
      me-no-dev authored
      - Device will not reset if previous baudrate was not 9600
      - CDC Device is not recognized if WebUSB is enabled
      4ada3f58
    • Me No Dev's avatar
      Various USB fixes (#5422) · 268595c7
      Me No Dev authored
      * Fix compile archive arguments for the new toolchain
      
      * Add menu to S2 for picking through which port to upload
      
      Internal USB CDC requires to reset and wait for the new port (because persistence is not yet stable)
      
      * USB CDC should also be started in main
      
      * Fix URL and USB version for WebUSB
      
      * Update vendor callback API
      
      * Update CDC::write to use TX_DONE semaphore
      
      * Update USB_Serial example
      268595c7
  13. 19 Jul, 2021 7 commits
  14. 18 Jul, 2021 1 commit