Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

basic Arduino library "MIDIUSB" is not supported on stm32 #1533

Closed
jpnielsen opened this issue Oct 31, 2021 · 1 comment
Closed

basic Arduino library "MIDIUSB" is not supported on stm32 #1533

jpnielsen opened this issue Oct 31, 2021 · 1 comment
Labels
enhancement New feature or request third party library Linked to a third party library

Comments

@jpnielsen
Copy link

jpnielsen commented Oct 31, 2021

I have the Nucleo-144 STM32H743ZI (and the Daisy board (STM32H750) and some STM32F103 and STM32F405 boards bought on aliexpress).

I would like to use arduino to program it to perform MIDI over USB - and do some 16 bit ADC of inputs coming through multiplexers (74HC4067) and i2c communication to SSD1309 OLEDs and MCP23017 I/O expanders. All software and hardware is going to be available as open source and presented in an educational context.

However, the nescessary, basic Arduino library "MIDIUSB" is not supported on stm32.
https://www.arduino.cc/en/Reference/MIDIUSB

WARNING: library MIDIUSB claims to run on avr, sam, samd architecture(s) and may be incompatible with your current board which runs on stm32 architecture(s).
In file included from F:\Arduino\portable\sketchbook\libraries\MIDIUSB\examples\MIDIUSB_write\MIDIUSB_write.ino:9:
F:\Arduino\portable\sketchbook\libraries\MIDIUSB\src/MIDIUSB.h:78:2: error: #error "Unsupported architecture"
   78 | #error "Unsupported architecture"
      |  ^~~~~
exit status 1
Error compiling for board Nucleo-144.

Is it possible that ST Microelectronic will make MIDIUSB run on it's Discovery/Nucleo boards (if technically possible)?

Thank you

@fpistm
Copy link
Member

fpistm commented Nov 8, 2021

Hi,

added to [USB] Features request list #687

@fpistm fpistm closed this as completed Nov 8, 2021
@fpistm fpistm added New feature third party library Linked to a third party library labels Nov 8, 2021
@fpistm fpistm added enhancement New feature or request and removed Request labels Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request third party library Linked to a third party library
Projects
None yet
Development

No branches or pull requests

2 participants