| Type | Message | Action |
|---|---|---|
| ERROR | error: no argument passed and CMSIS_PACK_ROOT environment variable not set | See usage and correct the argument. |
| ERROR | error: more than one command line argument passed | See usage and correct the argument. |
| ERROR | error: directory already exists. Cannot create new pack repository | See usage and correct the argument. |
| ERROR | error: index.pidx download failed | Check internet connection and server availability. |
| ERROR | error: downloaded file is not an xml file | Check downloaded file. |
| INFO | info: no argument passed - using CMSIS_PACK_ROOT environment variable | For information only. |
| INFO | pack repository created successfully | For information only. |
| Type | Message | Action |
|---|---|---|
| ERROR | error: missing required argument <\c project>.cprj | See usage and correct the argument. |
| ERROR | error: CMSIS_BUILD_ROOT environment variable not set | Set \ref cbuild_envsetup. |
| ERROR | make ${output}${project}_cfg.mak failed! | Check make error messages. |
| ERROR | make ${output}${project}.mak failed! | Check make error messages. |
| INFO | cbuild.sh finished successfully! | For information only. |
| <command> | Description | Details |
|---|---|---|
| packlist | List missing packs | Check the current list of installed packs in the directory \c $CMSIS_PACK_ROOT. The URLs of missing packs are written to <ProjectFile\>.cp_install file. |
| make | Generate makefile(s) | Generates <ProjectFile\>.mak for \ref Make "Make" required to build the project. When used with option --merge it generates also <ProjectFile>_cfg.mak for \ref Make "Make" to update configuration files. This command also generates a ASCII log file <ProjectFile\>.clog recording location and version of the selected toolchain, packs, components and config files. The option --output specifies the destination folder of the generated files. The location of the <ProjectFile\>.cprj is used if --output is not specified. |
| extract | Extract layer from project | Creates a sub directory named \c ./Layer/\ |
| remove | Remove layer from project | Updates the <ProjectFile\>.cprj removing the layer description as well as all associated files and components for the
layers specified at the command line. The command deletes the associated files from the respecctive project directory.
The option --layer=\ |
| compose | Create new project | Create new <ProjectFile\>.cprj from layer files ([...]\ |
| add | Add layer to project | Updates the <ProjectFile\>.cprj adding the layer description as well as all associated files and components for the clayer files specified at the command line. The command copies the associated files from the layer directory into the project directory. One or more clayer files are required. |
| [option] | Description | Details |
|---|---|---|
| \--merge | Update configuration files | When used with the command \c make, it generates also <ProjectFile>_cfg.mak for \ref Make "Make" to update configuration files using \ref ccmerge (used by command: make). |
| \--toolchain=<compiler> | Specify toolchain | For projects that can be build with multiple toolchains, it defines the toolchain for the build (used by command: make). |
| \--output=<directory> | Specify output directory | Specifies the directory for the generated files *.mak files and the base directory for intermediate output from build. (used by command: make). |
\--layer=\| Specify layer name |
Specifies the name of the layer (used by commands: remove and extract). |
|
| \ |
Specify layer file | Specifies the directory and filename of the project layer (used by commands: add and compose). |
| Message Number | Type | Description | Action |
|---|---|---|---|
| M200 | ERROR | Invalid arguments! | At least one argument is wrong. See usage and correct the argument. |
| M201 | ERROR | Too many arguments! | There is more arguments passed than allowed. See usage and correct the command line. |
| M202 | ERROR | No CPRJ input file was specified | A *.cprj file is not provided as an argument. |
| M203 | ERROR | Error reading file(s) ...! | The listed file could not be read. Check file content. |
| M204 | ERROR | File not found: ...! | The listed file was not found. |
| M205 | ERROR | $CMSIS_PACK_ROOT environment variable is not defined! | The tool requires the environment variable $CMSIS_PACK_ROOT to locate the CMSIS Packs. |
| M206 | ERROR | No command was specified! | The tool requires a command. See usage information for available commands (e.g. config, make) |
| M207 | ERROR | Multiple commands were specified! | More than one command was provided in arguments. A single command is required. |
| M208 | ERROR | Error copying file ...! | The specified file could not be copied and will be missing during build. |
| M500 | ERROR | RTE Model reports: MSG | Error while preparing data. See message for more details. |
| M502 | ERROR | RTE Model reports: \#error NUM: NAME : MSG | Additional software components required. |
| M504 | ERROR | RTE Model reports: MISSING: – SPACE NAME | Add the missing component. |
| M600 | ERROR | Package index was not found in 'PATH/.Web | Check the package repository. |
| M601 | ERROR | Package 'VENDOR.NAME' was not found in package index! | Check the package repository. |
| M602 | ERROR | Package 'VENDOR.NAME.VER' was not found! | Check the package repository. |
| M603 | ERROR | No version of package 'VENDOR.NAME' was found! | Check the package repository. |
| M604 | ERROR | Unresolved package component: 'CMP' | Check project description file. |
| M605 | ERROR | Wrong CPRJ specification! | Check project description file. |
| M606 | ERROR | Device 'DEV (VENDOR)' was not found! | Check project description file. |
| M607 | ERROR | RTE Model construction failed! | The CMSIS-Pack engine reports an error message. |
| M608 | ERROR | No toolchain configuration file for 'NAME' version 'VER" was found! | Check CMSIS_COMPILER_ROOT or add the required toolchain configuration file to the project directory. |
| M609 | ERROR | Missing 'NAME' element in CPRJ file! | Check project description file. |
| M610 | ERROR | Project supports multiple toolchains. Select one with the option --toolchain | See usage and correct the argument. |
| M611 | ERROR | Selected toolchain is not supported by the project | Check project description file or command line arguments. |
| M630 | WARNING | Device ... is substituted by device variant ... . | Instead of the device specified by the project a variant found for this device is used. |
| M650 | INFO | Setup run successfully | For information only./td> |
| M651 | INFO | Generated makefile for merging config files: ... | For information only. |
| M652 | INFO | Generated makefile for project build:'%NAME%.mak' | For information only. |
| M653 | INFO | Local config file ... was not found. Copying default file from package. | Please validate whether the config file is intentionally missing. The default config file may be missing project specific settings. |
| M654 | INFO | URL ... was added to the list of missing packages. | For information only. |
| M655 | INFO | CMSIS_COMPILER_ROOT environment variable was not set! | For information only. |
| M656 | INFO | Package 'VENDOR.NAME.VER' was found in local repository 'PATH'! | For information only. |
| Option | Description |
|---|---|
| -pfile <name_of_pack_cfgfile> | File path of the configuration file from a pack |
| -cfile <name_of_current_cfgfile> | File path of the current config file in a project |
| -merge | Execute merge: the current 'cfile' will be saved as 'cfile.nnnn' then 'cfile' will be updated and overwritten. |
| -details | Create a log file: the name will be that of 'cfile' with an extension '.mlog' added to 'cfile'. The log file will contain info about merged items and their location or warning and error messages when processing fails. |
| Type | Message | Action |
|---|---|---|
| ERROR | -cfile - missing filename | See usage and correct the argument. |
| ERROR | -cfile: duplicate specification | See usage and correct the argument. |
| ERROR | -pfile - missing filename | See usage and correct the argument. |
| ERROR | -pfile: duplicate specification | See usage and correct the argument. |
| ERROR | unknown command option | See usage and correct the argument. |
| ERROR | Error - cannot open %s file | Check input files. |
| ERROR | Error - different types of configuration options | Check input files. |
| ERROR | Error: vector.AddCitem() failed - out of memory. | Ensure you have enough memory available. |
| ERROR | FATAL-ERROR: Out of Memory | Ensure you have enough memory available. |
| ERROR | ccmerge failed, %d Error(s) found. | Check log file. |
| WARNING | ccmerge command line warning: duplicate '-%s' ignored | See usage and correct the argument. |
| INFO | Note: '-merge' not specified, checking files only. | For information only. |
| INFO | Note: no config annotations in pfile | For information only. |
| INFO | Note: no config annotations in cfile | For information only. |
| INFO | ccmerge completed, 0 Error(s), 0 Warning(s), 'cfile' left unchanged. | For information only. |
| INFO | ccmerge completed, %d Error(s), %d Warning(s), %d items merged. | For information only. |
| Type | Message | Action |
|---|---|---|
| ERROR | error: missing command line argument | See usage and corret argument. |
| ERROR | error: too many command line arguments | See usage and corret argument. |
| ERROR | error: $filename does not exist | See usage and corret argument. |
| ERROR | error: CMSIS_PACK_ROOT environment variable not set | Set \ref cbuild_envsetup. |
| ERROR | error: CMSIS_PACK_ROOT: folder does not contain package index file .Web/index.pidx | Check pack repository. |
| ERROR | error: pack download failed for $pack_url | Check internet connection and server availability. |
| ERROR | error: downloaded file $packfile is not a zip/pack file | Check list of missing packages in cpinstall file. |
| ERROR | error: unzip failed for $packfile | Check downloaded package. |
| INFO | info: pack $packfile is already downloaded | For information only. |
| INFO | info: $packfile is already installed | For information only. |
| INFO | pack installation completed successfully | For information only. |
| \[\ |
Short Name | Description |
|---|---|---|
| -f FILE | Specify makefile | Run make for the makefile specified by FILE |
| -j [N] | Run parallel jobs. | Speed up builds by allowing N jobs at once; infinite jobs with no arg. |
| -r | Run make without built-in rules | Disable the implicit rules built into make. |
| -s | Run make in silent mode | Don't echo recipes. |
| [\ |
Short Name | Description |
| clean | Cleanup build | Requests to remove intermediate build output files |