1. What is emC
emC is embedded multiplatform sources for C and C++ development. It is a set of sources which can be used in any user applications. The user application which uses emC can be compiled and tested on a PC platform to develop, evaluate and check functionality, and then deployed on several target embedded system, without change of the sources and as far as possible without conditional compilation.
For that the operation system access is encapsulated in a OSAL Operation System Adaption Layer. The emC sources contain OSAL for PC programming and for some embedded processor solutions.
Different specificities are supported, for example elaborately text processing on PC platform for testing, with algorithm which should run on a DSP (Digitial Signal Processor) platform without text processing. This features are controlled inside the emC sources. For example a textual argument is ignored by compilation for the DSP because it is unused in that situation (implementation with macros or inline routines). The compiler optimized it.
2. The git Archive for the source files as one
There is a git archive on github: TODO It contains all sources of emC
3. Using a small part of emC sources immediately by source files
Software for embedded systems should be run under different conditions: