• Me No Dev's avatar
    fix(cdc): Disable SOF interrupt and CDC reset on begin() (#9628) · 6adeca44
    Me No Dev authored
    * fix(cdc): Disable SOF interrupt and CDC reset on begin()
    
    * feat(jtag/hwcdc): uses SOF detection from IDF
    
    Restores back IDF 5.1 SOF detection method in order to fix the HW CDC uploading process.
    
    Enabling SOF mask in the ISR routine causes a problem with esptool uploading when using CDC/JTAG port.
    
    * feat(jtag/hwcdc): uses SOF detection from IDF
    
    Restores back IDF 5.1 SOF detection method in order to fix the HW CDC uploading process.
    
    Enabling SOF mask in the ISR routine causes a problem with esptool uploading when using CDC/JTAG port.
    
    * feat: revert include 
    
    This include is not necessary here.
    
    Moving it back to the HWCDC.cpp file.
    
    * feat: adding a necessary include 
    
    Adding the IDF 5.1 SOF check include file.
    
    Necessary to make it compile. Moved from HWCDC.h file to here.
    
    * feat: move function call to header file
    
    * feat: Moved SOF function
    
    * feat: Removed unused header file
    
    * fix: Use correct SOF header file
    
    * ci(pre-commit): Apply automatic fixes
    
    * Small fixes for Debug prints on C3, C6 and H2
    
    * fix(usb): Fix log prints
    
    ---------
    Co-authored-by: default avatarRodrigo Garcia <rodrigo.garcia@espressif.com>
    Co-authored-by: default avatarpre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
    6adeca44
USBCDC.cpp 12.9 KB