Command lines interface ¶
CLI: clock ¶
CLI for SW clock validation
find-clock ¶
Returns an array of filtered configurations based on ids (ids containing the provided string), role, clocked_Instance, type.
Options:
|
Name |
Description |
Required |
Default value |
|
–clocked-instance <clocked_Instance> |
The clocked_Instance to find in the clock tree |
false |
|
|
–exact |
Perform an exact search, matching the query string exactly as provided. |
false |
|
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–id <id> |
The id to find in the clock tree |
false |
|
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
–role <role> |
The role to find in the clock tree |
false |
|
|
–type <type> |
The type to find in the clock tree |
false |
get-clock ¶
Returns the configuration of a specific clock element in a formatted object.
Options:
|
Name |
Description |
Required |
Default value |
|
–format, <string> |
Specify the desired format of the returned data. Provide a comma-separated list of fields (e.g., “id,value,type”). If omitted, defaults to “id,value”. |
false |
|
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–id, <string> |
exact id of the clock element to retrieve |
true |
|
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
get-clock-constraints ¶
Returns a list of clock elements that have applied constraints
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
get-clock-items ¶
Returns a list of clock items in {key, value} format.
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–ids, <string> |
exact ids of the clock elements to retrieve |
true |
|
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
get-clock-status ¶
Returns the global status of the clock tree, checking for out-of-range configurations.
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
get-clocks ¶
Returns the configuration of all clock elements in a formatted object.
Options:
|
Name |
Description |
Required |
Default value |
|
–format, <string> |
Specify the desired format of the returned data. Provide a comma-separated list of fields (e.g., “id,value,type”). If omitted, defaults to “id,value”. |
false |
|
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
list-possible-values ¶
Lists possible values for a given clock element. Possible values can be a frequency range or a set of multiple values or a fixed value depending on the clock element.
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–id, <string> |
exact id of the clock element to retrieve |
true |
|
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
reset ¶
Resets clock to default state.
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
–skip-confirmation |
Using this option executes the command without any confirmation. |
false |
set-clock-constraints ¶
Applies a constraint to a clock element. Supported constraints are: minimize, maximize.
Options:
|
Name |
Description |
Required |
Default value |
|
–allow-unlock |
This option allows unlocking clock elements if they are affected by the current setClockConstraintCommand (i.e., the locked element is in the main update path). |
false |
|
|
–constraints <format> |
The string describing the constraints to apply: minimize, maximize, lock, unlock |
false |
|
|
–flexible-path |
This option allows the clock solver to make modifictaion in the current clock path. |
false |
|
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–id, <string> |
exact id of the clock elements to apply constraints to. |
false |
|
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
–role, <string> |
Role of the clock elements to apply constraints to. |
false |
set-value ¶
Sets the value of a specific configuration item.
Options:
|
Name |
Description |
Required |
Default value |
|
–allow-unlock |
This option allows unlocking clock elements if they are affected by the current setValueCommand (i.e., the locked element is in the main path). |
false |
|
|
–flexible-path |
This option allows the clock solver to make modifictaion in the current clock path. |
false |
|
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–id, <string> |
exact id of the clock elements to retrieve |
true |
|
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
–value, <string> |
New element value |
true |
set-value-by-hw-instance ¶
Sets the value of a specific configuration item.
Options:
|
Name |
Description |
Required |
Default value |
|
–allow-unlock |
This option allows unlocking clock elements if they are affected by the current setValueCommand (i.e., the locked element is in the main path). |
false |
|
|
–flexible-path |
This option allows the clock solver to make modifictaion in the current clock path. |
false |
|
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–hw-instance, <string> |
exact hw instanceid of the clock elements to retrieve |
true |
|
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
–type, <string> |
type of clock elements to retrieve |
false |
|
|
–value, <string> |
New element value |
true |
set-values ¶
Sets new values to a set of clock items
Options:
|
Name |
Description |
Required |
Default value |
|
–allow-unlock |
This option allows unlocking clock elements if they are affected by the current setValuesCommand (i.e., the locked element is in the main path). |
false |
|
|
–flexible-path |
This option allows the clock solver to make modifictaion in the current clock path. |
false |
|
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–ids, <string> |
exact ids of the clock elements to retrieve |
true |
|
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
–values, <string> |
new values for the clock elements |
true |
solver-on-demand ¶
Calls the clock solver to fix erroneous values in the clock tree.
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
CLI: composer ¶
CLI for sw composer feature
add-component ¶
Add one component to an existing software component project
Options:
|
Name |
Description |
Required |
Default value |
|
-c,–component-id <componentId> |
Unique CMSIS component identifier (required) |
true |
|
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
-r,–resolve-dependency-strategy <resolveDependencyStrategy> |
Strategy to use for resolving dependencies : ‘optimistic’ -default- or ‘conservative’ (optional) |
false |
|
|
–skip-configuration-instance <skipConfigurationInstance> |
With the skip option you could add a component without automatically adding a software instance (optional) |
false |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
add-files ¶
Add any library or dependency files to a SW project
Options:
|
Name |
Description |
Required |
Default value |
|
-b, –build-target <string> |
Build target context representation on format ‘[projectName][.buildType][+targetType]’ |
false |
|
|
-c,–category <string> |
Category of the file (required) [Allowed values:api, doc, genAsset, genHeader, genParams, genSource, header, headerAsm, headerC, headerCpp, headerLd, image, include, includeAsm, includeC, includeCpp, includeLd, library, linkerScript, object, other, preIncludeGlobal, preIncludeLocal, source, sourceAsm, sourceC, sourceCpp, utility] |
true |
|
|
-f,–files ‘[<string>]’ |
List of files to add (required) |
true |
|
|
-g,–group <string> |
Group of the file (optional) (default value ‘UserCode’) |
false |
|
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
apply-quick-fix ¶
Apply quick fix for a single or multiple actions
Options:
|
Name |
Description |
Required |
Default value |
|
-a,–actions <string> |
Actions (required) |
true |
|
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
delete-configuration-instances ¶
Delete a list of configuration instances of a components in a software project
Options:
|
Name |
Description |
Required |
Default value |
|
-c,–component-id <string> |
Unique CMSIS component identifier (required) |
true |
|
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
-i,–instance-id <string> |
A list of configuration instances (required) |
true |
|
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
get-component-label ¶
Get the label of a component
Options:
|
Name |
Description |
Required |
Default value |
|
-c,–component-id <string> |
Unique CMSIS component identifier (required) |
true |
|
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
get-rtos ¶
Get Real-Time Operating System (RTOS) component of a SW project
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
list-component-conditions ¶
List the conditions for a specific component
Options:
|
Name |
Description |
Required |
Default value |
|
-c,–component-id <string> |
Unique CMSIS component identifier (required) |
true |
|
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
list-component-fixes ¶
List the available fixes for a specific component
Options:
|
Name |
Description |
Required |
Default value |
|
-c,–component-id <string> |
Unique CMSIS component identifier (required) |
true |
|
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
list-components ¶
List all the components
Options:
|
Name |
Description |
Required |
Default value |
|
-e,–extended <boolean> |
To indicate that extended information will be displayed (optional) |
false |
|
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
list-files ¶
List any library or dependency files of a SW project
Options:
|
Name |
Description |
Required |
Default value |
|
-c,–category <string> |
Category of the file(s) (optional) [Allowed values: api, doc, genAsset, genHeader, genParams, genSource, header, headerAsm, headerC, headerCpp, headerLd, image, include, includeAsm, includeC, includeCpp, includeLd, library, linkerScript, object, other, preIncludeGlobal, preIncludeLocal, source, sourceAsm, sourceC, sourceCpp, utility] |
false |
|
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
list-packs ¶
List all packs of a SW project
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
list-project-fixes ¶
List the available fixes for all the components of a specific software project
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
remove-all-components ¶
Remove all the components
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
remove-component ¶
Remove a specific component from an existing software component project
Options:
|
Name |
Description |
Required |
Default value |
|
-c,–component-id <string> |
Unique CMSIS component identifier (required) |
true |
|
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–keep-dependencies <boolean> |
Keep component dependencies (default: false) |
false |
|
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
remove-components ¶
remove a list of components from an existing software component project
Options:
|
Name |
Description |
Required |
Default value |
|
–component-ids <string> |
list of unique CMSIS component identifiers (required) |
true |
|
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
remove-files ¶
Remove any files or libraries from a SW project
Options:
|
Name |
Description |
Required |
Default value |
|
-f,–files ‘[<string>]’ |
List of files or libraries to remove (required) |
true |
|
|
-g,–group <string> |
Group of the file (optional) (default value ‘UserCode’) |
false |
|
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
reorder-component-instances ¶
Reorder component software instances
Options:
|
Name |
Description |
Required |
Default value |
|
-c,–component-id <string> |
Unique CMSIS component identifier (required) |
true |
|
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
-i,–instance-id <string> |
The software instance id to move [Could be retrieved for the SW config store](required) |
true |
|
|
-o,–overlapping-instance-id <string> |
Id for the overlapping instance id[Could be retrieved for the SW config store](required) |
true |
|
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
resolve-dependencies ¶
Resolve dependencies for a software project
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
-r,–resolve-dependency-strategy <string> |
Strategy to use for resolving dependencies : ‘optimistic’ -default- or ‘conservative’ (optional) |
false |
optimistic |
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
search-components ¶
Search components
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
–search-text <string> |
Search pattern (required) |
true |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
set-component-label ¶
Change the component label
Options:
|
Name |
Description |
Required |
Default value |
|
-c,–component-id <string> |
Unique CMSIS component identifier (required) |
true |
|
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
-l,–label <string> |
Wanted label to apply for the component(optional) |
false |
|
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
CLI: dma ¶
CLI for dma feature
bind-resource ¶
Bind a specific DMA channel to a MemToMem software configuration.(–project-path (-p) and –channel (-c) are required)
Options:
|
Name |
Description |
Required |
Default value |
|
-c,–channel <string> |
Dma channel (required) |
true |
|
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
extract-store ¶
Returns a copy of the DMA store file generated by the tool. (–project-path (-p) is required)
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
get-allocations ¶
Returns all the DMA channels allocations for a specific software project. (–project-path (-p) is required)
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
list-channels ¶
Returns the list of dma channels .(–project-path (-p) is required and –sw-project-path (-s) are required))
Options:
|
Name |
Description |
Required |
Default value |
|
-d,–dma-controller <string> |
Name of the DMA controller |
false |
|
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–hw-instance <string> |
Name of the hardware instance |
false |
|
|
-n,–not-used <boolean> |
List not used channels only |
false |
false |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
|
|
-u,–used <boolean> |
List used channels only |
false |
false |
list-configurable-channels ¶
Returns the list of configurable channels by IP. (–project-path (-p) is required)
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
list-controllers ¶
Returns the list of dma controllers available in the SoC. (–project-path (-p) is required)
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
list-hw-resources ¶
Returns the list of all the hardware resources allocated for a specific channel. (–project-path (-p) and –channel (-c) are required)
Options:
|
Name |
Description |
Required |
Default value |
|
-c,–channel <string> |
Dma channel (required) |
true |
|
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
list-sw-instances ¶
Returns the list of all the software instances ids used for a specific channel. (–project-path (-p) and –channel (-c) are required)
Options:
|
Name |
Description |
Required |
Default value |
|
-c,–channel <string> |
Dma channel (required) |
true |
|
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
unbind-resource ¶
unbind a specific DMA channel configured in a specific MemToMem configuration. (–project-path (-p) ,-sw-project-path (-s),–channel (-c) are required) and –sw-instance are required.
Options:
|
Name |
Description |
Required |
Default value |
|
-c,–channel <string> |
Dma channel (required) |
true |
|
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
|
|
–sw-instance <string> |
ID of the software instance to unbind(required) |
true |
CLI: exti ¶
CLI for exti feature
is-used ¶
Returns if an exti line is used
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
-l,–line-id <string> |
exti line identifier |
true |
|
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
list-hw-resources ¶
Returns the list of all the hardware resources using an exti line
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
-l,–line-id <string> |
exti line identifier |
true |
|
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
list-lines ¶
Returns the list of exti lines being used|list all exti lines available in the HW
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–hw-instance <string> |
name of the hardware instance |
false |
|
|
-n,–not-used |
list not used lines only |
false |
false |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
|
|
-u,–used |
list used lines only |
false |
false |
list-sw-instances ¶
Returns the list of all the software instances ids used for a specific exti line
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
-l,–line-id <string> |
exti line identifier |
true |
|
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
CLI: finder ¶
The finder command is designed to extract and display marketing information for boards and devices. It is particularly useful for developers and engineers who need specific details about supported MX products.
device ¶
Groups all finder’s commands related to device.
info ¶
get device information per CPN
Arguments:
|
Name |
Description |
|
<cpn> |
device’s cpn |
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
list ¶
get all devices
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–line <line> |
Filter by line |
false |
|
|
–port <port> |
MX backend port |
false |
|
|
–series <series> |
Filter by series |
false |
CLI: global-services ¶
Provide users with the ability to manage/view project-level configuration options, enabling them to activate, configure, or deactivate settings as needed
disable ¶
Disable a project global service
Arguments:
|
Name |
Description |
|
<globalServiceId> |
Global service to disable |
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
enable ¶
Enable a project global service
Arguments:
|
Name |
Description |
|
<globalServiceId> |
Global service to enable |
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
list ¶
List the project global services
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
CLI: hw-platform ¶
CLI for hardware platform feature
board-info ¶
get Board informations for a given project
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
mcu-info ¶
get Mcu informations for a given project
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
CLI: ide-project ¶
Cube IDE Project CLI
build-target ¶
Manage the build targets of a software project
add ¶
Add a new build target to the list of build targets
Options:
|
Name |
Description |
Required |
Default value |
|
–force |
The existing build-types/target-types matching the ‘target’ will be overwritten |
false |
false |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–name <name> |
The name of the build target. String representation of a BuildType on format “[projectName][.buildType][+targetType]” |
true |
|
|
–port <port> |
MX backend port |
false |
|
|
–profile <profile> |
The build profile type |
false |
Debug |
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
–toolchain <toolchain> |
The toolchain |
false |
GCC |
list ¶
List all build targets for the project
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
remove ¶
Remove a build target from the list of build targets
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–name <name> |
The name of the build target. String representation of a BuildType on format “[projectName][.buildType][+targetType]” |
true |
|
|
–port <port> |
MX backend port |
false |
|
|
–profile <profile> |
The build profile type |
false |
Debug |
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
flag ¶
Manage the compiler flags of a build setup
add ¶
Add flags to the build setup
Arguments:
|
Name |
Description |
|
<flags> |
the list of flags |
Options:
|
Name |
Description |
Required |
Default value |
|
–force |
force to add the flags at the end even it already occurs in the list |
false |
false |
|
–from-scratch |
Clear any potentially existing configuration before adding the new flags |
false |
false |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
–setup <build setup name> |
the build type (CubeMX default naming = Build Profile type + Compiler Family : “debug_GCC”, “release_GCC”, “debug_ARM”, …) |
true |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
|
|
–tool <tool…> |
the compiler tool names; choices: [‘asm, c, cpp, link, link-cpp, link-c’] |
true |
list ¶
List the flags of a build setup
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
–setup <build setup name> |
the build type (CubeMX default naming = Build Profile type + Compiler Family : “debug_GCC”, “release_GCC”, “debug_ARM”, …) |
true |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
|
|
–tool <tool…> |
the compiler tool names; choices: [‘asm, c, cpp, link, link-cpp, link-c’] |
true |
remove ¶
Remove flags from the build setup
Arguments:
|
Name |
Description |
|
<flags> |
the list of flags |
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
–setup <build setup name> |
the build type (CubeMX default naming = Build Profile type + Compiler Family : “debug_GCC”, “release_GCC”, “debug_ARM”, …) |
true |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
|
|
–tool <tool…> |
the compiler tool names; choices: [‘asm, c, cpp, link, link-cpp, link-c’] |
true |
fmt ¶
Manage the fmt
reload ¶
Reload FMT rules and overwrite values in project
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
show ¶
Show FMT rules values stored in the project
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
show-schema ¶
Show the FMT JSON Schema
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
validate ¶
Validate FMT rules file defined in CUBE_MX_IDE_PROJECT_EXPORT_FMT_RULES
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
validate-project ¶
Validate FMT rules file defined in CUBE_MX_IDE_PROJECT_EXPORT_FMT_RULES and compare it with values stored in project
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
generate ¶
Generate the project
Options:
|
Name |
Description |
Required |
Default value |
|
–build-target <buildTarget…> |
The name of the build target (repeatable: “–build-target .BT1 .BT2”). String representation of a BuildTarget on format “[projectName][.buildType][+targetType]” |
false |
|
|
–destination <destination> |
The destination |
false |
|
|
-f, –force |
Overwrite files in the export destination |
false |
false |
|
–format <format> |
The project format |
false |
|
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–keep-folder-structure <value> |
Allow keeping original folder structure. Auto will let STM32CubeMX2 handle it. This option is not saved and needs to be set everytime if you choose something different than auto |
false |
auto |
|
–make-user-code-local <value> |
Allow making user code local to exported project. Auto will let STM32CubeMX2 handle it. This option is not saved and needs to be set everytime if you choose something different than auto |
false |
auto |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
–remove-board |
Remove board and associated packs |
false |
false |
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
|
|
–source <source> |
The export source |
false |
list-format ¶
List all available project formats
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
list-generator ¶
List the generators for the project
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
list-source ¶
List all available project sources
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
list-toolchain ¶
List the available toolchains
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
set-destination ¶
Set the destination folder for project generation
Options:
|
Name |
Description |
Required |
Default value |
|
–destination <destination> |
the generation destination folder |
true |
|
|
–format <format> |
The format to export as |
true |
|
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
set-format ¶
Set the default format for the project - see list-format for available formats
Options:
|
Name |
Description |
Required |
Default value |
|
–format <format> |
The format to export as |
true |
|
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
set-modifiable-base-dir ¶
Set the directory for user modifiable code
Options:
|
Name |
Description |
Required |
Default value |
|
–base-dir <baseDir> |
Base directory to set |
true |
|
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
set-remove-board ¶
Set the removal of board and associated packs when generating the project
Options:
|
Name |
Description |
Required |
Default value |
|
–format <format> |
The format to export as |
true |
|
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
–remove-board |
Remove board and associated packs |
false |
false |
set-source ¶
Set the source - see list-source for available sources
Options:
|
Name |
Description |
Required |
Default value |
|
–format <format> |
The format to export as |
true |
|
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
–source <source> |
the source pack location |
true |
set-target ¶
Set the target on format [projectName][.buildType][+targetType] to assign to the project
Options:
|
Name |
Description |
Required |
Default value |
|
–format <format> |
The format to export as |
true |
|
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
–target <target> |
the target to assign |
true |
show-config ¶
Show the export configuration of the project
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
status ¶
Get status
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–only-application-project |
Get status for application project |
false |
false |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
CLI: middleware ¶
CLI for middleware feature
disable-middleware ¶
Disable a middleware from the software project
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
-n,–name <readableName> |
readable middleware name (required) |
true |
|
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
enable-middleware ¶
Enable a middleware in the software project
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
-n,–name <readableName> |
readable middleware name (required) |
true |
|
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
get-available-middleware ¶
Get the list of all available middleware for the project
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
get-default-middleware ¶
Get the list of default middleware for the project
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
CLI: nvic ¶
CLI for nvic feature
get-grouping ¶
Returns grouping.
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
-v, –values |
get possible values |
false |
get-interrupt ¶
Returns the nvic interrupt details.
Options:
|
Name |
Description |
Required |
Default value |
|
–description |
get only interrupt description |
false |
|
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
-n,–name <string> |
name of nvic interrupt |
true |
|
|
–port <port> |
MX backend port |
false |
|
|
–priority |
get only interrupt priority (and subpriority) |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
–status |
get only interrupt status |
false |
get-interrupts-by-instance ¶
Returns nvic interrupts by instance.
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
-i,–instance <string> |
instance name |
true |
|
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
get-priority ¶
Returns priority.
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
-n,–name <string> |
name of nvic interrupt |
true |
|
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
-v, –values |
get possible values |
false |
list-interrupts ¶
Returns the list of nvic interrupts.
Options:
|
Name |
Description |
Required |
Default value |
|
–full |
full output |
false |
|
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–peripheral |
list only peripheral interrupts |
false |
|
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
|
|
–system |
list only system interrupts |
false |
|
|
–used |
list only used interrupts |
false |
set-grouping ¶
Change priority grouping.
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
-v, –value <number> |
priority grouping value |
true |
set-interrupts ¶
Enable/Disable NVIC system interrupts.
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
-n,–names <names…> |
Names of NVIC interrupts, separated by commas |
true |
|
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
|
|
–status <number> |
true to enable the interrupts, false to disable them |
true |
set-priorities ¶
Set priorities of NVIC interrupts.
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
-i, –interrupts <string…> |
list of nvic interrupts with priorities (format: name1,priority1,subpriority1;name2,priority2,subpriority2;…) |
true |
|
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
CLI: pack-manager ¶
CLI for pack manager feature
add-registry ¶
Add one or more registries to the pack manager configuration
Options:
|
Name |
Description |
Required |
Default value |
|
–cmsis-pack-root <path> |
Use specific <path> instead of env CMSIS_PACK_ROOT (optional) |
false |
|
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
–url <url…> |
Registry URL(s) to add (required) |
true |
install ¶
Install one or multiple packs using either URL or VENDOR.NAME.VERSION identifier.
Options:
|
Name |
Description |
Required |
Default value |
|
–cmsis-pack-root <string> |
Use specific <path> instead of env CMSIS_PACK_ROOT (optional) |
false |
|
|
–destination <string> |
Use specific <path> to install the pack to this local destination. If multiple packs are installed, the identifier will be a subfolder of the destination. (optional) |
false |
|
|
–force |
force installation even if pack is present. (optional) |
false |
|
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–pack-ids <string…> |
Either an URL to a .pack or an identifier such as ARM.CMSIS.5.8.0 (required) |
true |
|
|
–port <port> |
MX backend port |
false |
list-boards ¶
List of available board(s).
Options:
|
Name |
Description |
Required |
Default value |
|
–cmsis-pack-root <path> |
Use specific <path> instead of env CMSIS_PACK_ROOT (optional) |
false |
|
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
–verbose |
display full board name (optional) |
false |
list-devices ¶
List of available devices(s).
Options:
|
Name |
Description |
Required |
Default value |
|
–cmsis-pack-root <path> |
Use specific <path> instead of env CMSIS_PACK_ROOT (optional) |
false |
|
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
list-packs ¶
List of available pack(s).
Options:
|
Name |
Description |
Required |
Default value |
|
–cmsis-pack-root <path> |
Use specific <path> instead of env CMSIS_PACK_ROOT (optional) |
false |
|
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
remove ¶
Remove selected pack(s).
Options:
|
Name |
Description |
Required |
Default value |
|
–cmsis-pack-root <string> |
Path to the software project directory [relative paths are supported]. (optional) |
false |
|
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–pack-ids <string…> |
Either an URL to a .pack or an identifier such as ARM.CMSIS.5.8.0 (required) |
true |
|
|
–port <port> |
MX backend port |
false |
CLI: parts ¶
CLI for parts feature
add-standalone-part ¶
Add a standalone hardware part to the project by applying case-insensitive substring filters (metadata & pack id). Fails if zero or multiple parts match; succeeds only when exactly one candidate is found.
Options:
|
Name |
Description |
Required |
Default value |
|
–hclass <readableName> |
Hardware class substring filter (optional) |
false |
|
|
–hgroup <readableName> |
Hardware group substring filter (optional) |
false |
|
|
–hname <readableName> |
Hardware name substring filter (optional) |
false |
|
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–hrevision <readableName> |
Hardware revision substring filter (optional) |
false |
|
|
–hsub <readableName> |
Hardware sub-group substring filter (optional) |
false |
|
|
–hvariant <readableName> |
Hardware variant substring filter (optional) |
false |
|
|
–hvendor <readableName> |
Hardware vendor substring filter (optional) |
false |
|
|
–packidName <readableName> |
CMSIS pack name substring filter (optional) |
false |
|
|
–packidVendor <readableName> |
CMSIS pack vendor substring filter (optional) |
false |
|
|
–packidVersion <readableName> |
CMSIS pack version substring filter (optional) |
false |
|
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
–shortname <readableName> |
Friendly name substring filter (optional) |
false |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
disable-part ¶
Disable a part for the targeted sw project
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–pcb <readableName> |
Printed Circuit Board of the part to be enabled (optional) |
false |
|
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
-r,–referenceOnBoard <readableName> |
referenceOnBoard of the part to be disable (required) |
true |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
enable-part ¶
Enable a part for the targeted sw project
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–pcb <readableName> |
Printed Circuit Board of the part to be enabled (optional) |
false |
|
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
-r,–referenceOnBoard <readableName> |
referenceOnBoard of the part to be enabled (required) |
true |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
get-mounted-parts ¶
Get the list of mounted parts for the project
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
get-standalone-parts ¶
List all standalone parts currently added to the project; excludes mounted parts already available through the board definition.
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
remove-standalone-part ¶
Remove a standalone hardware part by its exact referenceOnBoard; only succeeds if the reference matches one and only one standalone part.
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
-r,–referenceOnBoard <readableName> |
referenceOnBoard of the part to be removed (required) |
true |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
search-standalone-parts ¶
List compatible standalone parts applying case-insensitive substring filters; returns metadata summaries.
Options:
|
Name |
Description |
Required |
Default value |
|
–hclass <readableName> |
Hardware class substring filter (optional) |
false |
|
|
–hgroup <readableName> |
Hardware group substring filter (optional) |
false |
|
|
–hname <readableName> |
Hardware name substring filter (optional) |
false |
|
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–hrevision <readableName> |
Hardware revision substring filter (optional) |
false |
|
|
–hsub <readableName> |
Hardware sub-group substring filter (optional) |
false |
|
|
–hvariant <readableName> |
Hardware variant substring filter (optional) |
false |
|
|
–hvendor <readableName> |
Hardware vendor substring filter (optional) |
false |
|
|
–packidName <readableName> |
CMSIS pack name substring filter (optional) |
false |
|
|
–packidVendor <readableName> |
CMSIS pack vendor substring filter (optional) |
false |
|
|
–packidVersion <readableName> |
CMSIS pack version substring filter (optional) |
false |
|
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
–shortname <readableName> |
Friendly name substring filter (optional) |
false |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
CLI: peripherals ¶
CLI for peripherals feature
description ¶
Display the informations about a peripheral.
Options:
|
Name |
Description |
Required |
Default value |
|
–cpn <cpn> |
Specify the CPN of a board |
true |
|
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–peripheral <peripheral> |
The id of the peripheral |
true |
|
|
–port <port> |
MX backend port |
false |
disable ¶
Disable a peripheral.
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–peripheral <peripheral> |
The id of the peripheral to disable |
true |
|
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
true |
|
|
–software-project <softwareProject> |
Name of the software project in which peripheral will be disabled |
false |
enable ¶
Enable a peripheral.
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–mode <mode> |
Name of the mode to use (some peripherals require mode choice in order to be used) |
false |
|
|
–peripheral <peripheral> |
The id of the peripheral to enable |
true |
|
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
true |
|
|
–software-project <softwareProject> |
Name of the software project in which peripheral will be enabled |
false |
list ¶
List peripherals in an MX2 project.
Options:
|
Name |
Description |
Required |
Default value |
|
–enabled |
Filter to keep only peripherals that are enabled |
false |
false |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
true |
|
|
–search <search> |
Search peripheral by id in the project |
false |
view ¶
Display the id, name, and other information about a peripheral.
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–peripheral <peripheral> |
The id of the peripheral to view |
false |
|
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
true |
CLI: pinout ¶
Pinout CLI for STM32CubeMX2
add-label ¶
Add a label to a pin.
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–label <label> |
label (example: My_ADC1_input) |
false |
|
|
–pin <pinName> |
pin name (example: PA15) |
false |
|
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
add-to-group ¶
Adds a pin to a GPIO group (uses the default group if –group is omitted).
Options:
|
Name |
Description |
Required |
Default value |
|
–group <group> |
group name (example: gpio_default) |
false |
gpio_default |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–pin <pinName> |
pin name (example: PA15) |
false |
|
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
all-pins ¶
Returns all the pins.
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
–short |
shorter output |
false |
assign-signal ¶
Assigns a signal to a pin.
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–pin <pinName> |
pin name (example: PA15) |
false |
|
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
–signal <signal> |
signal name (example: GPIO) |
false |
assigned-pins ¶
Returns all pins with assigned signal(s).
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
–short |
shorter output |
false |
exclude-pin ¶
Excludes a pin from pinout configuration and automatic resolution algorithm.
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–pin <pinName> |
pin name (example: PA15) |
false |
|
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
group ¶
Returns a GPIO group description (default group if groupName is omitted).
Options:
|
Name |
Description |
Required |
Default value |
|
–group <group> |
group name (example: gpio_default) |
false |
gpio_default |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
–short |
shorter output |
false |
include-pin ¶
Includes a pin (previously excluded) for pinout configuration and automatic resolution algorithm.
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–pin <pinName> |
pin name (example: PA15) |
false |
|
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
needs ¶
Get for each configured pin, the SW instance using it and with which signal.
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–instance [instanceName] |
instance name (example: I2C1) |
false |
all |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
–short |
shorter output |
false |
pin ¶
Returns a pin description.
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–pin <pinName> |
pin name (example: PA15) |
false |
|
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
–short |
shorter output |
false |
pin-signal ¶
Pins a signal to a pin.
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–pin <pinName> |
pin name (example: PA15) |
false |
|
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
–signal <signal> |
signal name (example: GPIO) |
false |
remove-from-group ¶
Removes a pin from a GPIO group (default group if groupName is omitted).
Options:
|
Name |
Description |
Required |
Default value |
|
–group <group> |
group name (example: gpio_default) |
false |
gpio_default |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–pin <pinName> |
pin name (example: PA15) |
false |
|
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
remove-label ¶
Remove a label from a pin.
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–label <label> |
label (example: My_ADC1_input) |
false |
|
|
–pin <pinName> |
pin name (example: PA15) |
false |
|
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
reset-pin ¶
Reset a pin. Reserved signals are reset, configured signals are preserved, labels are preserved, excluded pins are restored
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–pin <pinName> |
pin name (example: PA15) |
false |
|
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
reset-pinout ¶
Reset all the pins. Reserved signals are reset, configured signals are preserved, labels are preserved, excluded pins are restored
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
unassign-signal ¶
Unassigns a signal from a pin.
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–pin <pinName> |
pin name (example: PA15) |
false |
|
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
–signal <signal> |
signal name (example: GPIO) |
false |
unpin-signal ¶
Unpins a signal from a pin.
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–pin <pinName> |
pin name (example: PA15) |
false |
|
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
–signal <signal> |
signal name (example: GPIO) |
false |
CLI: project ¶
close ¶
close a project
Options:
|
Name |
Description |
Required |
Default value |
|
–discard |
If specified, discard unsaved changes on the project. |
false |
|
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
create-from-board ¶
Create an Application Project from Board
Options:
|
Name |
Description |
Required |
Default value |
|
–cpn <cpn> |
Specify the CPN of a board (must have an STM32 mounted device) |
true |
|
|
–empty-project |
Create an empty project without any example code (only the board support package will be included) |
false |
|
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–overwrite |
Overwrite existing project at target IOC2 path |
false |
|
|
–pack-name <packName> |
Specify the board pack name; filters boards by pack name (case-insensitive) |
false |
|
|
–pack-version <packVersion> |
Specify the board pack version; filters boards by pack version (case-insensitive) |
false |
|
|
–port <port> |
MX backend port |
false |
|
|
-l, –project-location <projectLocation> |
Project location (use “.” to create locally) |
true |
|
|
-n, –project-name <projectName> |
Specify project name |
true |
create-from-mcu ¶
Create an Application Project from MCU
Options:
|
Name |
Description |
Required |
Default value |
|
–cpn <cpn> |
Specify the CPN of a STM32 MCU |
true |
|
|
–empty-project |
Create an empty project without any example code (only the board support package will be included) |
false |
|
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–overwrite |
Overwrite existing project at target IOC2 path |
false |
|
|
–pack-name <packName> |
Specify the mcu pack name. Limits the results to the specified <packName> |
false |
|
|
–pack-version <packVersion> |
Specify the mcu pack version. Limits the results to the specified <packVersion> |
false |
|
|
–port <port> |
MX backend port |
false |
|
|
-l, –project-location <projectLocation> |
Project location (use “.” to create locally) |
true |
|
|
-n, –project-name <projectName> |
Specify project name |
true |
create-software ¶
create a software Project
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
–software-project <softwareProject> |
Optionally provide a software project name (by default takes <cubemx project name>) |
false |
delete ¶
delete a project
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
get-sw-project-list ¶
list software projects in the project
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
pack ¶
Manage application project packs
add ¶
The command adds a pack inside the project csolution.
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–pack-id <packId> |
The pack to add |
true |
|
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
list ¶
The command enumerates all the packs utilized within a project.
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
–upgradable |
lists packs which can be upgraded. |
false |
false |
update ¶
The command updates a pack to a newer version.
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–newer-pack-version <newerPackVersion> |
The newer version to update |
true |
|
|
–pack-name <packName> |
The pack name used to identify the pack |
true |
|
|
–pack-vendor <packVendor> |
The pack vendor used to identify the pack |
true |
|
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
save ¶
save a project
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
set-linked ¶
Set IOC2 linked attribute to true
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
set-read-only ¶
Set IOC2 read-only attribute to true
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
unset-linked ¶
Unset IOC2 linked attribute (remove the flag)
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
unset-read-only ¶
Unset IOC2 read-only attribute (remove the flag)
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
CLI: resource-manager ¶
[DEPRECATED] Use “cube mx peripherals” instead of “cube mx resource-manager”
bind ¶
[DEPRECATED] bind an hardware IP in a software project
Arguments:
|
Name |
Description |
|
<project path> |
path of the MX project (pointing to csolution.yml file) |
|
<hwInstance> |
hardware ip to be bound |
Options:
|
Name |
Description |
Required |
Default value |
|
–host <port> |
mx host |
false |
127.0.0.1 |
|
-p, –port <port> |
mx port |
false |
|
|
–protocolType <protocolType> |
specify the protocol type |
false |
|
|
–softwareProject <software project path> |
specify the software project to use (absolute path pointing to cproject.yml file). By default, the first software project is used |
false |
list-hw-ips ¶
[DEPRECATED] list hardware IPs in the application project
Arguments:
|
Name |
Description |
|
<project path> |
path of the MX project (pointing to csolution.yml file) |
Options:
|
Name |
Description |
Required |
Default value |
|
-d, –details |
show additional details for each hardware IP |
false |
|
|
–host <port> |
mx host |
false |
127.0.0.1 |
|
-p, –port <port> |
mx port |
false |
list-hw-ips-used ¶
[DEPRECATED] list hardware IPs used in the application project
Arguments:
|
Name |
Description |
|
<project path> |
path of the MX project (pointing to csolution.yml file) |
Options:
|
Name |
Description |
Required |
Default value |
|
-d, –details |
show additional details for each hardware IP |
false |
|
|
–host <port> |
mx host |
false |
127.0.0.1 |
|
–peripheralName <peripheralName> |
show sw instances details for a particular peripheral name |
false |
|
|
–peripheralType <peripheralType> |
show sw instances details for a particular peripheral type |
false |
|
|
-p, –port <port> |
mx port |
false |
|
|
–softwareProject <software project path> |
specify the software project to use (absolute path pointing to cproject.yml file). By default, the first software project is used |
false |
unbind ¶
[DEPRECATED] unbind an hardware IP
Arguments:
|
Name |
Description |
|
<project path> |
path of the MX project (pointing to csolution.yml file) |
|
<hwInstance> |
hardware ip to be bound |
Options:
|
Name |
Description |
Required |
Default value |
|
–host <port> |
mx host |
false |
127.0.0.1 |
|
-p, –port <port> |
mx port |
false |
CLI: sw-config ¶
CLI for sw-configuration feature
add-array-element ¶
Add an element to an array
Options:
|
Name |
Description |
Required |
Default value |
|
-e, –element-to-add <elementToAdd> |
element to be added to the array |
true |
|
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–parameter-path <pathToParameter> |
json path to the parameter |
true |
|
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
-r, –resource-name <resourceName> |
Resource name (HW resource name for bound components, or a unique identifier for unbound components such as middleware or parts). |
true |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
get-parameter-actions ¶
Get the actions (if any, from the parameters.json) of a given parameter
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–parameter-path <pathToParameter> |
json path to the parameter |
true |
|
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
-r, –resource-name <resourceName> |
Resource name (HW resource name for bound components, or a unique identifier for unbound components such as middleware or parts). |
true |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
get-parameter-possible-values ¶
Get the possible values of a given parameter
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–parameter-path <pathToParameter> |
json path to the parameter |
true |
|
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
-r, –resource-name <resourceName> |
Resource name (HW resource name for bound components, or a unique identifier for unbound components such as middleware or parts). |
true |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
get-parameter-value ¶
Get the value of a given parameter
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–parameter-path <pathToParameter> |
json path to the parameter |
true |
|
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
-r, –resource-name <resourceName> |
Resource name (HW resource name for bound components, or a unique identifier for unbound components such as middleware or parts). |
true |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
list-available-parameters ¶
List the visible parameters in a given component instance
Options:
|
Name |
Description |
Required |
Default value |
|
-d, –details <string> |
The “details” option can be equal to “short” or “full” (it is optional). The “short” choice adds the value for each parameter to the output and if it is readonly or not. The “full” choice for each parameter adds the value, if it is readonly or not, its possible values and its actions (if any) to the output. |
false |
|
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
-r, –resource-name <resourceName> |
Resource name (HW resource name for bound components, or a unique identifier for unbound components such as middleware or parts). |
true |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
list-configurations ¶
List the configurations of the project (the whole ones or for an optional component)
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
|
|
-c, –sw-component-id <string> |
component identifier (optional) |
false |
list-parameters ¶
List all the parameters in a given component instance
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
-r, –resource-name <resourceName> |
Resource name (HW resource name for bound components, or a unique identifier for unbound components such as middleware or parts). |
true |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
move-array-element ¶
Move an element to a given rank
Options:
|
Name |
Description |
Required |
Default value |
|
-e, –element-to-move <elementToMove> |
element to be moved in the array |
true |
|
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–parameter-path <pathToParameter> |
json path to the parameter |
true |
|
|
–port <port> |
MX backend port |
false |
|
|
–position <position> |
position can be up, down or a specific rank |
true |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
-r, –resource-name <resourceName> |
Resource name (HW resource name for bound components, or a unique identifier for unbound components such as middleware or parts). |
true |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
move-array-elements ¶
Move several elements to the given ranks
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
-m, –moves <moves> |
array of {”_itemTitle”: “keyValue”, “rank”: “rankValue”} |
true |
|
|
–parameter-path <pathToParameter> |
json path to the parameter |
true |
|
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
-r, –resource-name <resourceName> |
Resource name (HW resource name for bound components, or a unique identifier for unbound components such as middleware or parts). |
true |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
remove-array-element ¶
Remove an element from an array
Options:
|
Name |
Description |
Required |
Default value |
|
-i, –element-index <elementIndex> |
index of the element to be removed (index in 0..arraySize-1) |
true |
|
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–parameter-path <pathToParameter> |
json path to the parameter |
true |
|
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
-r, –resource-name <resourceName> |
Resource name (HW resource name for bound components, or a unique identifier for unbound components such as middleware or parts). |
true |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
reset-configuration ¶
Reset a configuration (restores default; same action than UI button Reset Configuration)
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
-r, –resource-name <resourceName> |
Resource name (HW resource name for bound components, or a unique identifier for unbound components such as middleware or parts). |
true |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
set-multiple-parameters ¶
Set the value of several parameters
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–parameters <parameters> |
array of {“path”: “parameterPath”, “value”: “parametervalue”} |
true |
|
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
-r, –resource-name <resourceName> |
Resource name (HW resource name for bound components, or a unique identifier for unbound components such as middleware or parts). |
true |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
set-parameter-value ¶
Set the value of a given parameter
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–parameter-path <pathToParameter> |
json path to the parameter |
true |
|
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
-r, –resource-name <resourceName> |
Resource name (HW resource name for bound components, or a unique identifier for unbound components such as middleware or parts). |
true |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
|
|
-v, –value <value> |
parameter value |
true |
CLI: utilities ¶
CLI for utilities feature
disable-utility ¶
Disable a utility from the software project
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
-n,–name <readableName> |
readable utility name (required) |
true |
|
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
enable-utility ¶
Enable a utility in the software project
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
-n,–name <readableName> |
readable utility name (required) |
true |
|
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
get-available-utilities ¶
Get the list of all available utilities for the project
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
get-default-utilities ¶
Get the list of default utilities for the project
Options:
|
Name |
Description |
Required |
Default value |
|
–host <host> |
MX backend host |
false |
127.0.0.1 |
|
–port <port> |
MX backend port |
false |
|
|
-p, –project-path <projectPath> |
Path to the ‘.ioc2’ file. |
false |
|
|
-s, –software-project <softwareProjectName> |
Software project name. If not specified a default software project will be used if any. |
false |
Last updated 2026-03-13 b’21:14:05 CET’