mirror of
https://github.com/letscontrolit/ESPEasy.git
synced 2026-07-27 19:57:38 +00:00
[USBCDC] Properly fix USB CDC issues on ESP32-S2
This commit is contained in:
@@ -87,22 +87,6 @@ static void usbcdcEventCallback(void *arg, esp_event_base_t event_base, int32_t
|
||||
}
|
||||
*/
|
||||
|
||||
extern "C" {
|
||||
|
||||
// Stub implementation of the HID report received callback
|
||||
// This is required by TinyUSB HID host but not used in ESPEasy
|
||||
void tuh_hid_report_received_cb(uint8_t dev_addr, uint8_t idx, uint8_t const*report, uint16_t len)
|
||||
{
|
||||
// Empty implementation - HID host functionality is not used in ESPEasy
|
||||
// Thanks Jason8266 for this fix :)
|
||||
(void)dev_addr;
|
||||
(void)idx;
|
||||
(void)report;
|
||||
(void)len;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Port_ESPEasySerial_USBCDC_t::Port_ESPEasySerial_USBCDC_t(const ESPEasySerialConfig& config)
|
||||
{
|
||||
# if ARDUINO_USB_CDC_ON_BOOT
|
||||
|
||||
@@ -166,7 +166,7 @@ extra_scripts = ${esp82xx_common.extra_scripts}
|
||||
[core_esp32_IDF5_5_0__3_2_0_LittleFS]
|
||||
platform = https://github.com/Jason2866/platform-espressif32.git#0b2bdf30cd0744b0b37907ee022ee7e30bb8f8bc
|
||||
;platform = https://github.com/Jason2866/platform-espressif32.git#Arduino/IDF55
|
||||
platform_packages = framework-arduinoespressif32 @ https://github.com/Jason2866/esp32-arduino-lib-builder/releases/download/0109-1248-5.5/framework-arduinoespressif32-release_v5.5-717d5bca.zip
|
||||
platform_packages = framework-arduinoespressif32 @ https://github.com/Jason2866/esp32-arduino-lib-builder/releases/download/0209-1054-5.5/framework-arduinoespressif32-release_v5.5-717d5bca.zip
|
||||
build_flags = -DESP32_STAGE
|
||||
-DESP_IDF_VERSION_MAJOR=5
|
||||
-DLIBRARIES_NO_LOG=1
|
||||
|
||||
Reference in New Issue
Block a user