Changes for page Project Creation, Initialization and Launch (Prom)
Last modified by Richard Kreissig on 2023/09/14 10:56
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -18,8 +18,25 @@ 18 18 19 19 == Prom Environments == 20 20 21 -Todo 21 +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). 22 22 23 +An Environment consists of 24 + 25 +1. a unique **name**, that does not contain a comma 26 +1. a **related project wizard** 27 +1. information about a **main file** for the project 28 +1. information about the **target code** KiCo should produce from models 29 +1. information for **wrapper code generation** 30 +1. a list of **shell commands** which should be run as part of a project launch 31 + 32 +Besides the name, all of these are optional, but can improve the workflow. 33 + 34 +The related project wizard is run as part of the Prom project wizard and takes care of the actual project creation. 35 + 36 +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. 37 + 38 +KiCo can produce code in different programming languages from a model file, including C and Java. 39 + 23 23 == Project Wizards with Prom == 24 24 25 25 Todo ... ... @@ -31,3 +31,5 @@ 31 31 == Wrapper Code Generation == 32 32 33 33 Todo 51 + 52 +== Automatically generated files ==
- Confluence.Code.ConfluencePageClass[0]
-
- Id
-
... ... @@ -1,1 +1,1 @@ 1 -1376264 11 +13762654 - URL
-
... ... @@ -1,1 +1,1 @@ 1 -https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/1376264 1/Project Creation, Initialization and Launch (Prom)1 +https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/13762654/Project Creation, Initialization and Launch (Prom)