Command Line execution - Clocks Tool
This section describes the Command Line Interface (CLI) commands supported by
the Clocks Tool.
| Command name | Definition and parameters | Description | Restriction | Example |
|---|---|---|---|---|
| Enable tool | -Enable | Enables tool if it is disabled in the current configuration | Requires -HeadlessTool Clocks | -HeadlessTool Clocks -Enable |
| Import C files | -ImportC |
Imports .c files into the configuration Importing is done after loading mex and before generating outputs |
Requires -HeadlessTool Clocks | -ImportC C:/imports/file1.c C:/imports/file2.c |
| Export all generated files | -ExportAll | Exports generated files (with source code and all the available
export objects). Code will be regenerated before export.Includes
-ExportSrc and in framework -ExportMEX Argument is expected as a folder name |
Requires -HeadlessTool Clocks | -ExportAll C:/exports/generated |
| Export Source files | -ExportSrc |
Exports generated source files. Code will be regenerated before export Argument is expected as a folder name |
Requires -HeadlessTool Clocks | -ExportSrc C:/exports/src |
| Export HTML report file | -ExportHTML |
Exports generated html report file. Code will be regenerated before export Argument is expected as a folder name |
Requires -HeadlessTool Clocks | -ExportHTML C:/exports/html |
Examples:
- Import configuration from specified file and save it in HTML
format:
eclipsec.exe -noSplash \-application com.nxp.swtools.framework.application \--launcher.ini /path/to/S32CT/installation/tools.ini \-HeadlessTool Clocks \-MCU /processor/name \-SDKVersion /sdk/version/name \-ImportC /path/to/C/file \-ExportHTML /path/where/to/save/fileOR
eclipsec.exe -noSplash \-application com.nxp.swtools.framework.application \--launcher.ini C:\NXP\S32ConfigTools\tools.ini \-HeadlessTool Clocks \-MCU S32S247TV \-SDKVersion s32sdk_s32s_rtm_100 \-ImportC C:\Input\file.c \-ExportHTML C:\Output - Import configuration from existing .mex file and generate
code:
eclipsec.exe -noSplash \-application com.nxp.swtools.framework.application \--launcher.ini /path/to/S32CT/installation/tools.ini \-HeadlessTool Clocks \-Load /path/to/mex/file \-ExportSrc /path/where/to/save/generated/files