-
Notifications
You must be signed in to change notification settings - Fork 17
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
build instructions #6
Comments
I just got this to build. What exact error do you get? If you mean the AVRDUDE_PATH I guess that should not be an issue until actually uploading, seems to make ok with a wrong path. Things i needed to fix was to be sure to use LUFA github master, there seems to be changes to the interfaces since 170418. Be sure to put lufa top level folder, not LUFA subfolder, in same folder as the USBMidiKlik folder. Then download the midiXParser (also from this user) and put the folder in same folder level as USBMidiklik and lufa folders, then references will line up. Then i had to change a prototype, line 117 in midiXParser.h should be void setMidiMsgFilter(uint8_t midiMsgTypeFilterMsk); After those small issues it seems to make without problems, of course assuming you have a working avr-gcc environment. Will check upload tomorrow, but that should probably also work fine if you point the AVRDUDE_PATH to the arduino ide bin folder. |
That would be great! I am also trying to make it on Mac Os X Mojave but I keep getting no target found. Giving make uno returns:
|
It seems like it just cannot find the lufa library folder. The path is relative to the location of the makefile, make sure to structure it like: --workfolder |
Thank you very much! I was nesting lufa and midiXparser inside USBMidiKliK folder... Below is the output of make command. I get some warnings but I also got a hex file, which is good... Now I have to remember how to use USBtinyISP to burn it on my Mega (all my UNOs have CH340). ` Create an auto-incrementing build number.======== BUILD USBMIDIKLIK - TARGET=uno - BUILD NO=1085 ========[INFO] : Begin compilation of project "USBMidiKliK_dual_uno"... avr-gcc (GCC) 4.8.1 [GCC] : Compiling C++ file "USBMidiKliK_dual.cpp" avr-size --mcu=atmega16u2 --format=avr USBMidiKliK_dual_uno.elf
|
OK, I gave |
Nice that so freshly aquired knowledge by me was still able to help you, and you are most welcome. Basically I am also a novice in the AVR world, so that was luck i guess : ) I believe that I also got those warnings, but it finished, so I am also looking forward to try to upload later today, - in my case to a Pro Micro ATmega32u4. PM me so we can keep in contact, if we're working on the same things we might as well knowledge share. VBR |
Hi Guys. Nice to see mutual support between users. If any of you feel ready to write a wiki on how to build USBMidiKlik (which I don't really have time to do ) he is welcome! |
Thanks for all the information. |
Would be nice to have a few lines how to build the bootloader, for unexperienced users like me.
(naively typing
make
leads to an error because of hardcoded windows (!) path...)The text was updated successfully, but these errors were encountered: