Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
chibios:articles:rt_integration_guide [2016/01/08 14:20]
giovanni
chibios:articles:rt_integration_guide [2016/01/08 14:45]
giovanni
Line 2: Line 2:
 ====== ChibiOS/RT Integration Guide ====== ====== ChibiOS/RT Integration Guide ======
  
-All the delivered ​ChibiOS/​RT ​demos are stand alone applications so if you just start your application ​from an existing demo there isn't any integration effort, you are simply using the existing makefiles, ​the default ​startup files etc, minimal effort.\\ +This guide describes what is needed in order to integrate ​ChibiOS/​RT ​or ChibiOS/NIL in a build environment different ​from the default ​one provided ​in ChibiOS distribution.
-The matter is very different if you are going to integrate the OS into a different runtime framework or if you want to use a different build system, ​in that case you have the problem to integrate the OS source code into your application.+
  
 === What this guide does not cover === === What this guide does not cover ===
Line 68: Line 67:
 === Other Files === === Other Files ===
  
-The RT kernel requires a configuration file, it is usually placed under the project root directory but it can be placed in any directory reachable by the compiler. The file is named''​chconf.h''​ and a template can be taken from:+The RT kernel requires a configuration file, it is usually placed under the project root directory but it can be placed in any directory reachable by the compiler. The file is named ''​chconf.h''​ and a template can be taken from:
  
   * ''​./​os/​rt/​templates/​chconf.h''​   * ''​./​os/​rt/​templates/​chconf.h''​
  
 Do not use the file directly, copy it in your project and edit the copy. Do not use the file directly, copy it in your project and edit the copy.
 +
 +=== Notes ===
 +
 +If in doubt remember that the provided makefiles are the ultimate guide for the integrator, all required the paths and options are necessarily present there. It is a good idea to look at the ''​Makefile''​ present in all demos if some detail is not clear. By compiling the demo all compiler options are printed on the console, that should remove any doubt about the required paths, files and options.
  
 </​WRAP>​ </​WRAP>​