Versions Compared

Key

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

...

PragmaEffect
#KiCoEnv {<json>}Configures the compiler environment.
#hostcodeAllows hostcode additions that are placed at the beginning of the generated code file. The exact handling may depend on the used code generator.
#code.naming

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.