Closed samimash closed 7 years ago
You have to do nothing with this Makefile. It is internal to USPi. If you want to add the USPi library to your own project, you will have to create your own project Makefile. There should be some include path definition in your Makefile where you have to add the USPi include/ directory. Further you have to add the libuspi.a file (with path) as a library for the linker (ld), where it is called in your Makefile.
a link to a tutorial for this will be useful
Perhaps it's the easiest if you try to modify one of the USPi samples for your purpose. But if you need special features, you also have to modify the USPi Environment, wish may be not easy. USPi requires some programming knowledge to be used. I cannot tell you a link to a (make) tutorial, because I do not know one.
sammimash: this tutorial for a different pi bare metal project might help you
http://www.valvers.com/open-software/raspberry-pi/step01-bare-metal-programming-in-cpt1/
Hello, I am also kind of stuck here, I am attempting to use a MIDI-USB cable to read Notes on the RPI3: After building a Sample (MIDI) using the Makefile, I got this new files kernel.elf kernel.img kernel.lst kernel.map But I dont see any Excecutable to test it out. How can I achieve this ? Thanks
i am stuck here
i found a file called makefile in the lib directory what should i do with it?