Versions Compared

Key

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

...

PragmaEffect
#KiCoEnv {<json>}Configures the compiler environment.

#hostcode <code>

#hostcode-[c | c-header | java] <code>

Allows hostcode additions that are placed at the beginning of the generated code file. The exact handling may depend on the used code generator.

Status
subtletrue
colourGreen
titleNew in 1.1

There are also language specific variants that will only affect the specific code generation, e.g. #hostcode-java.

#code.naming

Status
subtletrue
colourGreen
titleNew in 1.1

Configures the code generation to use different names for generated functions.

#code.naming <TICK_FUNCTION_NAME>, <RESET_FUNCTION_NAME>, <LOGIC_FUNCTION_NAME>, <TICKDATA_STRUCT_NAME>
Sets the name for the four functions. All four parameters must be present.

#code.naming suffix
#code.naming prefix
Code generation will use default function names but will prefix/suffix these names with the model name.

#resource <file |  directory>

Status
subtletrue
colourGreen
titleNew in 1.1

#VisualizeImportedSCCharts

Status
subtletrue
colourGreen
titleNew in 1.1