Skip to content

Commit

Permalink
feat(jtag/hwcdc): uses SOF detection from IDF
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
SuGlider authored May 14, 2024
1 parent 5833d07 commit dea5be6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cores/esp32/HWCDC.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#include <inttypes.h>
#include "esp_event.h"
#include "Stream.h"
#include "driver/usb_serial_jtag.h"

ESP_EVENT_DECLARE_BASE(ARDUINO_HW_CDC_EVENTS);

Expand Down

0 comments on commit dea5be6

Please sign in to comment.