EspTinyUSB icon indicating copy to clipboard operation
EspTinyUSB copied to clipboard

USB CDC Firmware upload

Open grillem opened this issue 2 years ago • 2 comments

Hi,

I am currently playing around withe USBMIDI capabilities and I am having a small issue. I would like to use the native USB of the ESP32S2 to act as both a midi device and being able to program. However, when compiling the USB midi example, the USB serial port doesn't work. Is there a way to fix this?

Thank you

grillem avatar Jan 28 '22 13:01 grillem

The problem is that this library was designed before arduino-esp32 by espressif and those 2 are not compatible. Upload over USB should work if you disable it in tool menus and simply just add CDC serial port from this example.

chegewara avatar Jan 28 '22 14:01 chegewara

Thank you for your reply. I have merged the code of the two examples image And disabled CDC on boot from the confiuguration image

However if I upload this sketch neither midi nor or Serial work on the usb port. Did I get something wrong?

grillem avatar Jan 28 '22 15:01 grillem