Skip to content

This is my usb midi device class for stm32 MCUs together with a simple example of a typical usage.

Notifications You must be signed in to change notification settings

ripxorip/stm32_usb_midi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

STM32 USB MIDI

This is my usb midi device class for stm32 MCUs. The user interface for the class is located under src/usbd_midi_user.c and /inc/usbd_midi_user.h. The actual class can be found under /lib/USB_Device/Class/midi/src and /lib/USB_Device/Class/midi/inc.

Compilation

Download and install the following software for your platform

  • The gcc-arm-none-eabi toolchain.
  • openOCD.
  • st-link (optional)
  • The ST firmware - Download from ST
  • Specify the folder of the firmware in the Makefile and run make.
  • Upload the resuling binary to the board using openOCD or st-link.

Usage

After programming the MCU it should be detected as a midi device by any standard OS such as Windows, OS X and Linux. If you are using a stm32f4-discovery board the blue button should generate a test note which is sent to the host.

About

This is my usb midi device class for stm32 MCUs together with a simple example of a typical usage.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages