1. 11 Aug, 2021 3 commits
  2. 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
  3. 29 Jul, 2021 2 commits
  4. 26 Jul, 2021 6 commits
  5. 22 Jul, 2021 3 commits
  6. 21 Jul, 2021 2 commits
  7. 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
  8. 19 Jul, 2021 7 commits
  9. 18 Jul, 2021 1 commit
  10. 16 Jul, 2021 9 commits