uspi bare metal driver

2 posts
by sami055 » 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 138 times
Posts: 3
Joined: Wed May 31, 2017 7:59 am
by rst » 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.
Posts: 266
Joined: Sat Apr 20, 2013 6:42 pm
Location: Germany