latest Arduinon 3.0.0. needs HWCDC (#20905)

This commit is contained in:
Jason2866 2024-03-10 15:20:43 +01:00 committed by GitHub
parent bb07ded475
commit 2cc87b086b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions

View File

@ -225,7 +225,9 @@ bool tasconsole_serial = false;
#if ARDUINO_USB_MODE
//#warning **** TasConsole ARDUINO_USB_MODE ****
//HWCDC HWCDCSerial; // Already defined in HWCDC.cpp
#if (ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5,1,3))
HWCDC HWCDCSerial;
#endif
TASCONSOLE TasConsole{HWCDCSerial}; // ESP32C3/C6/S3 embedded USB using JTAG interface
//#warning **** TasConsole uses HWCDC ****
#else // No ARDUINO_USB_MODE