Versions Compared

Key

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

...

Environments are used to set default settings for project creation and launching for different target platforms. They are configured in the preferences (Window > Preferences > KIELER > Environments).

An Environment consists of

  1. a unique name, that does not contain a comma
  2. a related project wizard
  3. data about information about a main file for the project
  4. information about the target languagecode 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 Environment. Furthermore predefined wrapper code snippets can be injected as part of a project launch, which is described below.

 KiCo can produce code in different programming languages from a model file, including C and Java.

Project Wizards with Prom

...

Wrapper Code Generation

Todo

Automatically generated files