Using the MicroC profile with Eclipse

If you are using platform integration with Eclipse, and want to build an application based on the MicroC profile, you must perform a number of additional steps.

Procedure

  1. Apply the EclipseMainLoopConfiguration stereotype to the Eclipse Configuration used in your model.
  2. After you have generated the code for your application:
    1. Copy all of the .c and .h files from the [installation directory]\Share\LangC\mxf directory to the directory that contains the source files that were generated, except for the files RiCOSAutosarRte.c/h and RiCOSOsek.c/h (if these four files are also copied, compilation errors may result). There is no need to copy the Adaptors subdirectory.
    2. If the Instrumentation Mode of the configuration is set to Animation, copy all of the .c and .h files from the [installation directory]\Share\LangC\aom directory and the [installation directory]\Share\LangC\omcom directory to the directory that contains the source files that were generated, except for the files TargetMonitor.c/h and AdaInterface.c/h.

Feedback