Adding a CMSIS-Toolbox project to the IDE
Download and install a version of CMSIS-Toolbox that is compatible with the project you are going to import.
Download and install CMake (version 3.31 or later).
Only if you are using IAR Build Tools for Linux:
Install the version of Ruby that corresponds to the Linux version you are using.
Navigate to the
common/bin/pack2iardirectory in the installation directory and runbundle installto download and install the bundles needed to run the pack conversion steps.
Choose Tools>Options>CMake/CMSIS-Toolbox to open the settings page for CMake/CMSIS-Toolbox and specify the paths to the:
CMake executable
CMSIS-Toolbox installation
Pack root folder (the local
PACKrepository)
To prepare for adding a
csolution.ymlproject file to the IDE, choose Project>Create New Project to open the Create New Project dialog box.From the Tool chain dropdown menu, choose CMake for Arm and select the template Import csolution.yml.
Navigate to the
csolution.ymlfile that belongs to the CMSIS-Toolbox project you want to add. Adding it can take a few minutes.Save the project file in a suitable location.
Now all files should be displayed in the Workspace window.
The project can now be analyzed and debugged as a regular Embedded Workbench project. In a project with multiple executable targets, select the target to debug on the Project>Options>CMake>Target page.
You can also use the template Empty project and import a
csolution.ymlfile into the IDE later, using the command Project>Add CMake Connector>CSolution. Note that you can only add onecsolution.ymlfile!