How to use the Bios Library
This page sums up how to import the bios layer and how to use it in a new project. For all the information of the library's interfaces, please read the doxygen documentation.
Requirements
Ensure that you have a $AR_CMD environment variable pointing on the "pic30-ar" application.
Build the library
Once the project is imported into your Eclipse workspace, let's compile it to create the static library "bios.a". Go to the properties of the bios project and select your target in C/C++ build > Settings > Manage Configuration. Let's build it.
The archive has been successfully created.
Create your new project
You can now create your project, in this example "TestLibrary?".
Update include and library Paths
You have to add the bios/inc directory in the Compiler Directories list
The last point is to add the "bios.a" in the libraries list of the linker.
Build your project
Everything is ready, you can create and build wonderful application with the BIOS :)
Attachments
-
screen2.png
(181.7 KB) -
added by perrinni 21 months ago.
-
screen3.png
(97.8 KB) -
added by perrinni 21 months ago.
-
screen4.png
(91.7 KB) -
added by perrinni 21 months ago.
-
screen5.png
(94.7 KB) -
added by perrinni 21 months ago.
-
screen6.png
(94.6 KB) -
added by perrinni 21 months ago.
