1. 21 Sep, 2021 3 commits
  2. 20 Sep, 2021 2 commits
  3. 15 Sep, 2021 3 commits
    • Me No Dev's avatar
      [HWCDC] Improve HW CDC Implementation (#5643) · 078671d2
      Me No Dev authored
      This pull request contains a few fixes and improvements to the HWCDC implementation.
      - Rework `HWCDC::write()` to accept unlimited data
      - Add Semaphore to guard the TX Ring Buffer
      - Add events support
      - Remove unnecessary 1200bps touch for flashing over HWCDC
      - Fix `HardwareSerial::setDebugOutput()` not resetting `putc` if the port is already selected, causing debug output to also show on HWCDC even when not selected.
      078671d2
    • Me No Dev's avatar
      [USB CDC] Fix data might not be transmitted until more is written (#5652) · 541cef91
      Me No Dev authored
      Depending on `tud_cdc_tx_complete_cb` can cause in some cases the last packet to not be transmitted until more data is written and flushed. It's a rare case, but if the other end is expecting those last bytes, transmission will hang.
      
      This PR also fixes debug output on CDC
      541cef91
    • Tomas Sebestik's avatar
      Add dummy test for self hosted GitHub runners (#5521) · 6dfaf6cd
      Tomas Sebestik authored
      * Add dummy test for self hosted GitHub runners
      6dfaf6cd
  4. 31 Aug, 2021 6 commits
  5. 25 Aug, 2021 1 commit
  6. 24 Aug, 2021 1 commit
  7. 23 Aug, 2021 10 commits
  8. 19 Aug, 2021 1 commit
  9. 18 Aug, 2021 2 commits
  10. 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
  11. 16 Aug, 2021 1 commit
  12. 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
  13. 11 Aug, 2021 5 commits
  14. 02 Aug, 2021 2 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