BlokasLabs / USBMIDI

USB MIDI library for Arduino.
Other
189 stars 14 forks source link

Aditional MCUs #11

Open oofus opened 4 years ago

oofus commented 4 years ago

Hi Wasn't sure how else to ask a question about this lib other than here!

What's the likelyhood of support for other MCUs beyond AVR, particularly STM32 ? (or anything else 32bit for that matter)

Thanks

gtrainavicius commented 4 years ago

Which boards do you have in mind?

This library depends on the 'PluggableUSB' library in Arduino core - it should allow to have a consistent API between architectures, but unfortunately the library somehow ended up being inconsistent between the architectures itself. :)

There is a 'sam' branch available on this repository that has changes required to make it run on Atmel samd based boards, see this pull request for a bit more info: https://github.com/BlokasLabs/USBMIDI/pull/10

So if your STM32 based Arduino board has a proper PluggableUSB implementation available, USBMIDI should work.

oofus commented 4 years ago

Thanks for the reply, that's food for thought. I've just started looking at the whole range of STM32 devices, they seem quite compelling considering their capability and cost. I'll Investigate PluggableUSB on those devices.

Interesting about the Atmel SAM branch.

I'll do some experimentation and report back anything of interest.

Thanks

oofus commented 4 years ago

From what I can see, STM32 Arduino Core does not use PlugableUSB, so that's a non-starter.

gtrainavicius commented 4 years ago

A feature request on the STM32 Arduino Core library may help the devs consider implementing Pluggable USB support. :)

oofus commented 4 years ago

Seems they plan to, but there has been no progress so far. Which is slightly disappointing.