Use of Adafruit TinyUSB Library on SparkFun Thing +

Hi Guys,

Just trying to get a bit of clarification about TinyUSB. It should be supported directly by the processor with the ATSAMD51J20, the processor used in this board. However, it is not possible to compile a program using Adafruit TinyUSB library which is designed for the in-built USB communication of the SAMD21/51 processors.

Specifically, there is no menu option for USB Stack in the Arduino IDE for the SparkFun board(s) (see attached image for example using the Seeeduino XIAO board SAMD21), which will allow compilation using TinyUSB.h. header file.

For our use, it is important to use TinyUSB library as it integrates seamlessly with the Serial Arduino MIDI Library to allow MIDI over USB. The Midi-Test Program is an example program supplied with the TinyUSB Github installation package that compiles on Adafruit boards such as the Itsybitsy M4 express and Seeeduino boards such as the XIAO.

Is this work in progress, or is it possible to get this library to compile with a change to the boards.txt file within the Arduino IDE? We are using Arduino IDE version 1.8.13. and TinyUSB library version 0.10.1.

Cheers!

Unfortunately we’ve never tried Adafruit’s library before, it’s possible that you’d need to make changes to boards.txt to get it too work.

Ok - fair enough.

Last chance before I give up: Can you think of any way of activating USB MIDI through this board? SAM51/21 is clearly compatible, as Adafruit and Seeeduino have shown, I can imagine that there will be may similar makers that will be looking to add MIDI to their musical creations, it’s a given now that this should be available.

I’m sure many others will be curious to know how SparkFun will be supporting USB MIDI, it would put you on a level playing field with everyone else who offers a library/instructions.