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 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
Untitled.png (55.29 KiB) Viewed 447 times

Posts: 303
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
from the project root directory to build them.

Return to “Bare metal, Assembly language”

Who is online

Users browsing this forum: No registered users and 3 guests