Elves Getting Started | Context |
Elves does not do magic. All it does is to greatly simplify the selection of function parameters in libraries that comply with the Elves format. Projects using any compiler are still created in the normal way. Once the details generated by Elves are pasted into the user code it is no different than if it was typed in.
Some guidelines though may be helpful to users of Elves. Elves needs no
installation as all that is necessary is to copy Elves.exe and Elves.txt
to any convenient folder. If Elves comes as part of the Quickstart Kit
then it will be installed as part of the kit installation.
Start Elves simply by double clicking on the Elves.exe file or on a shortcut
created for it. Many IDE tools also allow applications like Elves to be
integrated into the tools menu system.
The compiler needs function prototypes in your user code. This is best done by a #include in your main.c. To do this simply highlight the Appropriate .h path and filename in Elves in the Select Library block and copy it with CtrlC. Then, near the beginning of main.c type a new line beginning with #include , and paste the path and filename after that. Repeat this for every library used.
The other essential thing is to inform the linker where to find the libraries. In typical tools with graphical interfaces this is done simply by adding the library files to the projects. If linker scripts are used then each library to be linked must be copied into the linker script according to the rules of that linker.