Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. compile code from models via KiCo
  2. at the same time, generate wrapper code for these model files
  3. afterwards, execute arbitrary shell commands sequentially, if the KiCo compilation and wrapper code generation finished successfully

The shell commands are typically used to further compile the KiCo and wrapper code output and afterwards deploy the result to the target platform.

KiCo launch configurations work per project basis, thus every project has to create its own launch config. This is done automatically when performing Right Click > Run As > KiCo Compilationon a model file. (Screenshot)

...

On the Execute tab, a list of shell commands can be added. They are typically used to further compile the KiCo and wrapper code output and afterwards deploy the result to the target platform. The commands are executed sequentially in order as they appear in the list, after the KiCo compilation and wrapper code generation finished successfully. If a command fails (returns a non-zero exit code), following commands will not be excuted. The name of commands have to be unique and must not contain a comma.

...

  1. a unique name, that does not contain a comma
  2. a related project wizard
  3. information about a main file for the project
  4. information about the target code KiCo should produce from models
  5. information for wrapper code generation
  6. a list of shell commands which should be run as part of a project launch

...

A main file typically contains the entry point of the program on the target environment. Its wrapper code initializes and runs the model and sets inputs and outputs to the physical components of the target device. To ease the project setup and because wrapper code for a specific target platform is often similar, it is possible to define default content for the main file. Therefore the field main file origin can contain an absolute file path to a file with the default contents of a newly created main file for this Environmentenvironment. Furthermore, predefined wrapper code snippets can be injected as part of a project launch, which is described below.

...

Paths for initial content

The paths for main file origin and snippets origin accept an URL with the platform protocol provided by Eclipse.

Project Wizards with Prom

...