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

How to change de MIDI-USB device name. #37

Closed
jtragtenberg opened this Issue Jun 13, 2017 · 10 comments

Comments

Projects
None yet
6 participants
@jtragtenberg
Copy link

jtragtenberg commented Jun 13, 2017

Hello, How can I change de MIDI-USB device name? It only appears as the boards name, "Arduino Leonardo" or "Arduino Micro". I want it to be the name of my controller, and also change the Descriptor Product name, manufacturer and model names as well as the device and manufacturer ID number?

Thank you

@facchinm

This comment has been minimized.

Copy link
Contributor

facchinm commented Jun 14, 2017

Hi @jtragtenberg ,
the easiest way is creating a new "core" derived by one of ours and define your custom board this way (taking a Leonardo as example)

myboard.build.mcu=atmega32u4
myboard.build.f_cpu=16000000L
myboard.build.vid=BOARD_VID
myboard.build.pid=BOARD_PID
myboard.build.usb_product="BOARD_NAME"
myboard.build.usb_manufacturer="MANUFACTURER_NAME"
myboard.build.board=AVR_LEONARDO
myboard.build.core=arduino:arduino
myboard.build.variant=arduino:leonardo
myboard.build.extra_flags={build.usb_flags}

This way you can customize the values without touching the core files.

@facchinm facchinm closed this Jun 14, 2017

@exabrial

This comment has been minimized.

Copy link

exabrial commented Oct 31, 2017

Sorry to ask a stupid question, but where do those configuration entries go? I tried putting those exact values in /Applications/Arduino.app/Contents/Java/hardware/arduino/avr/boards.txt on OSX and did not see a new board drop down in the Arduino IDE. Thanks!

@facchinm

This comment has been minimized.

Copy link
Contributor

facchinm commented Oct 31, 2017

@exabrial the easiest way is to create a new hardware folder in $sketchbook/hardware/fancyname/$architecturename with a boards.txt file in there.
You sketchbook depends on the OS but it's /Users/yourname/Documents/Arduino on OSX.
architecturename must match the one you are expanding (eg. avr or samd). fancyname can be anything that doesn't override the default one (so no arduino).
After creating this folder you should restart the IDE to see the new boards in the menu. To avoid starting from scratch you can use https://github.com/webusb/arduino/tree/gh-pages/hardware/webusb/avr as a reference

@exabrial

This comment has been minimized.

Copy link

exabrial commented Oct 31, 2017

Thanks!

@eqcq

This comment has been minimized.

Copy link

eqcq commented Nov 8, 2017

HI and thx for that. I've followed all the steps, I find my device in arduino IDE but when I compile I read that : recipe.preproc.macros est un schéma manquant

Have you any idea ?

THX

@musinou

This comment has been minimized.

Copy link

musinou commented Jan 20, 2018

Hi everybody,
After reading this thread (thank you!) and a few other, I ended up making a little how-to on there, hope it may be some help for someone.

http://liveelectronics.musinou.net/MIDIdeviceName.php

@eqcq

This comment has been minimized.

Copy link

eqcq commented Jan 20, 2018

@musinou

This comment has been minimized.

Copy link

musinou commented Jan 20, 2018

No problem!

@kalandara

This comment has been minimized.

Copy link

kalandara commented Mar 25, 2018

http://liveelectronics.musinou.net/MIDIdeviceName.php

Here is description.
It's working I tried everything is FINE

@musinou

This comment has been minimized.

Copy link

musinou commented Mar 25, 2018

Good, thank you for the feedback!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment