Introduction
The library is written with a minimum set of compiler dependencies to make it portable on most toolchains and most compilers which are able to compile C. There are no GCC attributes or MSVC pragmas included in the code furthermore there are no weak functions or other non ISO-C language keywords which are not parsable from all compilers. To include the library in a project, the following page helps to do the job and can be used as a step by step quick porting guide.
required steps to include the library
- include all include paths of the library folder (inc-folder) to your project or copy them into your project as needed
- link all C files (src-folder) to your project or copy them to your project as needed
- adapt your makefile in case you have one. When using eclipse project this is not required
- copy the template header ConsoleConfig.h file to your project or create your own and adapt the compile time @parameters as needed.
- compile the source code once to make sure everything builds without issues and your include paths are correct.
- make sure FreeRTOS is implemented properly and compiles with the defualt include paths.
- no error should be returned after the call of CONSOLE_CreateInstance. Porting is done.