Command line emission settings

The tool uses a number of parameters that configure general settings and define settings specific to the host and sequencer (ISP), or kernel and graph (APEX2) components. These parameters are set in the command file or shell script file according to platform.

Table 1. Code emission settings (ISP project)
Parameter Description
-processor file Generator of the source code.

Default: com.nxp.s32ds.clt.isp.ispgen.core.gen.IspCltGenerator

-validate

Turns on validation of the graph diagram.

The tool validates the graph prior to emitting code from it.

-validationignore The tool ignores the validation results.
-model path

The file path for emitting the source code.

By default, the tool uses the location specified in the first parameter of its command line.

-outputdir path The location of the emitted source code.

By default, the tool uses the location specified in the second parameter of its command line.

-propertiesfile name Name of the additional properties file.

Default: isp

-P incDir=dir

Name of the folder where the header files for the host will be emitted. This folder will be created under the specified output location.

If the folder already exists, the tool reuses the existing folder. The existing files with the same name will be overwritten with the newly emitted files.

Default: inc
-P srcDir=dir

Name of the folder where the implementation files for the host will be emitted. This folder will be created under the specified output location.

If the folder already exists, the tool reuses the existing folder. The existing files with the same name will be overwritten with the newly emitted files.

Default: src
-emithost Turns on code emission for the host component.
-emitdynamic Turns on code emission for the dynamic sequencer.
-emitstatic Turns on code emission for the static sequencer.

This option is disabled by default and should be added to the command file manually.

-wspath path

A path to the location of the user workspace. If your workspace uses cameras not available in the SDK, the tool will use the workspace to validate cameras.

By default, the tool uses the location specified in the third parameter of its command line.

-vsdkpath path

A path to the SDK used to emit the code.

By default, the tool uses the location specified in the fourth parameter of its command line.

-extPath path A path to the SDK extensions.

By default, the tool uses the location specified in the fifth parameter of its command line.

Table 2. General code emission settings (APEX2 project)
Parameter Description
-processor file Generator of the source code.

Default: com.nxp.s32ds.clt.apex2.apugen.core.gen.HeadlessGenerator

-validate Turns on validation of the graph diagram. The tool validates the graph prior to emitting code from it.
-validationignore The tool ignores the validation results.
-model path

The file path for emitting the source code.

By default, the tool uses the location specified in the first parameter of its command line.
-outputdir path The location of the emitted source code.

By default, the tool uses the location specified in the second parameter of its command line.

-P hostDir=dir

Name of the folder where the implementation and header files for the host will be emitted.

Default: A53_gen
-P ioDir=dir Name of the folder where configuration file for the APU emulator (apu_app.cfg) will be emitted. This folder will be created under the specified output location.

Default: A53_inc

-P graphDir=dir

Name of the folder where graphs will be emitted. This folder will be created under the specified output location.

Default: graphs
-P kernelDir=dir Name of the folder where user-created kernels will be emitted. This folder will be created under the specified output location.
Note: This folder is only created under the specified output location when you emit a program that uses custom user kernels. If a graph uses a system kernel, this folder is not created.
Default: APU_kernels
-P mainFileName=name

Name of the implementation and header files for the main CPP file.

By default, the tool emits header to {testDir}\{mainFileName}.h and implementation to {testDir}\{mainFileName}.cpp.

Default: test_acf_host
-P configFileName=name

Name of the implementation and header files for the configuration CPP file.

By default, the tool emits header to {testDir}\{configFileName}.h and implementation to {testDir}\{configFileName}.cpp.

Default: apu_app_config
-P lauterbachDir=dir

Path relative to the specified output location where debug configuration for the host component will be stored after the tool finishes emitting code.

Default: Project_Settings/Debugger/
-P testDir=dir Name of the output folder where the implementation and header files for testing will be emitted.

Default: A53_test

-extPath path A path to the VSDK extensions.

By default, the tool uses the location specified in the third parameter of its command line.

-externalKernelsPath path A path to the external storage of kernels.

By default, the tool uses the location specified in the fourth parameter of its command line.

-host Turns on code emission for the host component. The resulting hostDir folder contains:
  • the APEX2 process controller files
  • the acf_host files - placeholders for the APEX2 host application code.
-graphs Turns on code emission for the graph component.
-kernels Turns on code emission for the kernel component.
-test Turns on code emission for testing. The resulting testDir folder contains files which are intended to be used during the development and testing stages.