The C runtime system contains some basic functionalities to run the generated models. The so called runtime is common for all C projects. The requirements for several projects may differ depending on the functionality of the model or the resources of the different platforms. Therefore the runtime is configurable in terms of message queue size, frequency and memory alignment. The configuration file etRuntimeConfig.h is located in src/config.
After changing the configuration, the runtime must be built.
Open the properties of the org.eclipse.runtime.c project and select C/C++ Build->Settings->Tool Settings and select Includes.
Verify the include paths
src/config src/common src/platforms/generic
Within the Setting dialog select the tab Build Artefact and select Static Library
Build the runtime by clicking
The runtime library should be created.
For the tutorials one runtime library should be sufficient. For embedded projects it might be necessary to build project specific runtime libraries. In this case a separate project for the runtime should be created. Symbolic links to the sources might be used to avoid duplicate files. Just the configuration file must be duplicated. A specific library file must exist within the project. Such specific runtime libraries might be referenced from several applications.