The following steps are required to install the ARM::CMSIS-Compiler pack and to use the software components that are shipped with the CMSIS-Pack.
Note
The installation and usage instructions are assuming you are using a CMSIS-Toolbox based environment.
Add the ARM::CMSIS-Compiler pack to your installation:
cpackget add ARM::CMSIS-CompilerAlternatively, you can download the latest version from the CMSIS-Compiler page.
- In your IDE, open the Manage software components dialog.
- If you cannot see the CMSIS-Compiler component, select to display All installed packs.
- You must select the component CMSIS-Compiler::CORE and at least one additional API.
The Event Recorder subcomponent requires the CMSIS-View::Event Recorder component from the CMSIS-View pack.
-
Install the CMSIS-View pack:
cpackget add ARM::CMSIS-View
-
In the Manage Software Components dialog, select Software Pack, then choose All installed packs and find and select ARM::CMSIS-View.
-
Select the CMSIS-View::Event Recorder component.
The project yml file should contain:
packs:
- pack: ARM::CMSIS-Compiler
- pack: ARM::CMSIS-Viewcomponents:
- component: CMSIS-Compiler:CORE
- component: CMSIS-Compiler:STDOUT:Event Recorder
- component: CMSIS-View:Event Recorder&DAPThe RTT subcomponent requires the SEGGER::RTT component from the SEGGER RTT pack.
-
Install the SEGGER RTT pack:
cpackget add SEGGER::RTT
-
In the Manage Software Components dialog, select Software Pack, then choose All installed packs and find and select SEGGER::RTT.
-
Select the SEGGER::RTT component.
The project yml file should contain:
packs:
- pack: ARM::CMSIS-Compiler
- pack: SEGGER::RTTcomponents:
- component: CMSIS-Compiler:CORE
- component: CMSIS-Compiler:STDOUT:RTT
- component: SEGGER:RTTThe UART subcomponent provides default implementation variant CMSIS which requires the CMSIS Driver::USART implementation, typically provided by a Board Support Pack (BSP) or Device Family Pack (DFP) for the target hardware.
Note
Use the CMSIS Packs catalog to find the appropriate pack for your target hardware.
-
Install the Board Support Pack (BSP) or Device Family Pack (DFP):
cpackget add Vendor::Pack
-
In the Manage Software Components dialog, select Software Pack, then choose All installed packs and find and select installed BSP or DFP.
-
Select the CMSIS Driver::USART component.
The project yml file should contain:
packs:
- pack: ARM::CMSIS-Compiler
- pack: Vendor::Packcomponents:
- component: CMSIS-Compiler:CORE
- component: CMSIS-Compiler:STDOUT:UART&CMSIS
- component: CMSIS Driver:USART




