1. 26 Mar, 2024 2 commits
  2. 22 Mar, 2024 1 commit
  3. 21 Mar, 2024 1 commit
  4. 20 Mar, 2024 2 commits
  5. 18 Mar, 2024 3 commits
  6. 14 Mar, 2024 1 commit
    • Rodrigo Garcia's avatar
      Fixes HW Serial attaching pins, PHY initialization, crash after end() (#9365) · 0a26a8c4
      Rodrigo Garcia authored
      * fix: HWCDC pin number
      
      Fixes HW Serial pin setup.
      
      The pins were set up to the wrong value and it could not be correctly configured and used.
      
      * fix: PHY initialization
      
      Fixes the PHY initialization.
      
      After detaching the pin and ending the HW Serial, a new begin() wouldn't start the CDC because it lacked the proper PHY initialization.
      
      * fix: crashing end()
      
      Fixes a crash when calling end()
      
      end() treminanates the `tx_ring_buf` but it was not tested for NULL in the ISR and in the cdc0_write_char() causing a crash if those are used. This depends on events and happens eventually.
      
      * reduces number of debug messages
      
      * fix git stash/commit added lines
      
      * fixes usb_phy_ll include and call
      
      * roll back
      
      * solves HWSerial initialization
      
      * fixes C6|H2 issue
      
      issue with `if(Serial)` not working always
      
      * github commit problem
      
      * fixes
      0a26a8c4
  7. 11 Mar, 2024 3 commits
  8. 05 Mar, 2024 11 commits
  9. 01 Mar, 2024 1 commit
  10. 29 Feb, 2024 2 commits
    • SooDragon's avatar
      fix: Geekble mini board pin fix (#9309) · ebca505f
      SooDragon authored
      * fix: LED Pin Modified
      
      fix: LED Pin Modified
      
      * Revert "fix: LED Pin Modified"
      
      This reverts commit 36bdbdbe0cdf40da82fae84acfca01da93999180.
      
      * fix: LED Pin Modified to support Hardware update
      
      fix: LED Pin Modified to support Hardware update
      ebca505f
    • Rodrigo Garcia's avatar
      fixes default 100ms delay with HWCDC write() is CDC is not connected (#9307) · 2fdd9016
      Rodrigo Garcia authored
      * feat(hwcdc): fix delay
      
      Fixes delay when CDC is disconnected. At this time is only fixes it when USB cable is unplugged.
      
      * feat(hwcdc): fix delay
      
      fixes delay when CDC is not connected. It was only considering when the USB cable was not plugged.
      
      * feat(hwcdc): add 2 methods
      
      Adds 2 new methods:
      - isPlugged() will return true when USB cable is plugged, false otherwise.
      - isConnected() will return true when USB CDC is connected to a application in the USB Host side and communication is stablished.
      
      * feat(hwcdc): adjusts APIs
      
      Fixes the example to use the new added APIs for checking if USB cable is plugged and for checking if CDC is connected.
      
      * fixes api declaration
      
      * fixes API declaration
      2fdd9016
  11. 28 Feb, 2024 1 commit
    • Rodrigo Garcia's avatar
      Fixes the hardware cdc jtag plugged/unplugged status and related timeout/delay (#9275) · b7af090f
      Rodrigo Garcia authored
      * feat(hw_cdc):fixes the hardware cdc jtag plugged/unplugged status
      
      This will use a new IDF 5.1 feature to detect if the USB HW CDC is plugged or not. This can be checked testing HWCDCSerial.
      It also fixes issues related to timeout or delays while writing to the HW Serial when USB is unplugged.
      
      * feat(usb): Creates HWSerial_Events.ino example
      
      * feat: adds .skip.esp32
      
      Skips the ESP32 SoC test given that it has no USB
      
      * feat: adds .skip.esp32s2
      
      Skips the ESP32S2 because it has no HW CDC JTAG interface
      
      * fix: fixes issues with Ubuntu CI 
      
      Only compiles the example in case it is using Hardware CD and JTAG mode.
      
      * feat(serialcdc): non block functions
      
      modifies write and flush to do not clock in case CDC host is not connected to the CDC client from the C3/S3/C6/H2
      
      * fix(HWCDC): changes made demands testing for CDC ON BOOT
      
      * feat(hwcdc): Improves HWSerial_Events.ino
      
      Improves the example by adding more information about USB being plugged and CDC being connected.
      
      * feat(hwcdc): solves CDC connection issue
      
      Detects correctly when CDC is or not connected. 
      Deals with USB unplugged while the sketch is printing to CDD.
      
      * Update cores/esp32/HWCDC.cpp
      
      * Update cores/esp32/HWCDC.cpp
      
      * Update cores/esp32/HWCDC.cpp
      
      * Update cores/esp32/HWCDC.cpp
      
      * Update cores/esp32/HWCDC.cpp
      
      * Update cores/esp32/HWCDC.cpp
      
      * Update cores/esp32/HWCDC.cpp
      
      * Update cores/esp32/HWCDC.cpp
      
      * Update cores/esp32/HWCDC.cpp
      
      * Update cores/esp32/HWCDC.cpp
      
      * Update cores/esp32/HWCDC.cpp
      
      * Update cores/esp32/HWCDC.cpp
      
      * Update cores/esp32/HWCDC.cpp
      
      * Update cores/esp32/HWCDC.cpp
      
      * Update cores/esp32/HWCDC.cpp
      
      * Update cores/esp32/HWCDC.cpp
      
      * Apply suggestions from code review
      
      ---------
      Co-authored-by: default avatarLucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com>
      b7af090f
  12. 27 Feb, 2024 3 commits
  13. 23 Feb, 2024 1 commit
    • SooDragon's avatar
      Add Board support for Geekble ESP32-C3 Custom Module (#9260) · ccacb7e3
      SooDragon authored
      * Add Board support for Geekble ESP32-C3 Custom Module
      
      feat: Add Board support for Geekble ESP32-C3 Custom Module
      
      * fix: remove globally defined variables in pins_arduino.h
      
      fix: remove globally defined variables in pins_arduino.h
      ccacb7e3
  14. 22 Feb, 2024 2 commits
  15. 21 Feb, 2024 6 commits