sami055
Posts: 6
Joined: Wed May 31, 2017 7:59 am

uspi bare metal driver

Mon Jun 12, 2017 10:52 am

I am working on https://github.com/rsta2/uspi project on github
I installed the toolchain ,build it but i am stuck in the using section
I do not know how to :
Add the USPi include/ directory to the include path in your Makefile and specify the libuspi.a library to ld. Include the file uspi.h where you want to access USPi functions.
A screenshot for the makefile is attached
Attachments
Untitled.png
makefile
Untitled.png (55.29 KiB) Viewed 335 times

rst
Posts: 289
Joined: Sat Apr 20, 2013 6:42 pm
Location: Germany

Re: uspi bare metal driver

Mon Jun 12, 2017 3:35 pm

This Using section is meant to be applied if you want to integrate the USPi library into your own project. You have to edit your own Makefile then as noted.

If you want to test the sample programs coming with USPi, you only have to enter

Code: Select all

./makeall clean
./makeall
from the project root directory to build them.

Return to “Bare metal”

Who is online

Users browsing this forum: No registered users and 5 guests