Arduino-USB-Rename icon indicating copy to clipboard operation
Arduino-USB-Rename copied to clipboard

Works with Micro and Leonardo, but not Due

Open Enabler97 opened this issue 2 years ago • 2 comments
trafficstars

Is there a solution to make this work with Due? Compiling creates and error stating the "PluggableUSB.h" library is not found. Adding to the sketch does not work either.

Enabler97 avatar Jun 07 '23 13:06 Enabler97

PluggableUSB, the library used by the AVR arduinos, seems to have been replaced (I think by tinyusb) in the ARM Arduinos. It's difficult to google for, for some reason.

I'll keep this open in case I get an ARM arduino myself and want to add support, but it seems like it's nontrivial.

mon avatar Jul 26 '23 13:07 mon

On further research though, it seems like the Due should expose PluggableUSB perfectly fine. See: https://www.arduino.cc/reference/en/libraries/midiusb/

The library is compatible with PluggableUSB-ready cores (AVR core > 1.6.8, SAM core > 1.6.4, SAMD core > 1.6.1)

The Due is a SAM core so it should work. Is your installation up to date?

mon avatar Jul 26 '23 13:07 mon