ddiakopoulos / hiduino

:musical_keyboard: Native USB-MIDI on the Arduino
http://www.dimitridiakopoulos.com/hiduino
645 stars 110 forks source link

Error compiling #49

Closed Shumatic closed 1 year ago

Shumatic commented 3 years ago

Hi Thanks for your work.

WARNING - beginner , i have NO prior knowledge with LUFA

I have multiple units, and want to change the name. I have tried to compile from instructions in #15, and from src. But it dosnt work for me. from #15 , with LUFA_PATH = . i get - Path not found If i use absolute paths?, i get makefile:631: *** multiple targetpatterns. stop. i dont know how to use relative path, when . dosn't work

With src files and abs. path i get avr-size not reconized a internal og external command

I use make from Atmel\Studio\7.0\shellutils, i have also installed http://mingw-w64.org/doku.php/download

Any help apriciated

Shumatic commented 3 years ago

And i found a solution I got files in src compiled with LUFA-140928 as decribed I installed Atmel studio 7 and added this to PATH C:\Program Files (x86)\Atmel\Studio\7.0\shellutils; - this is where make is C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\avr8\avr8-gnu-toolchain\bin - this is where avr-size is. I put the arduino_midi floder i "lufa-LUFA-140928\Projects" folder In Decriptor.c I changed the name - line 263 USB_STRING_DESCRIPTOR(L"arduino_midi_6"); and line 57 i changed the ProductID = 0x2053, I have attached 5 files arduino_midi_2 with ProductID = 0x2049 arduino_midi_3 with ProductID = 0x2050 arduino_midi_4 with ProductID = 0x2051 arduino_midi_5 with ProductID = 0x2052 arduino_midi_6 with ProductID = 0x2053

arduino_midi.zip