Skip to content

Files

Latest commit

 

History

History

Templates

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

CMSIS-Toolbox Templates

The following csolution.yml templates may be used to create own embedded applications.

Folder Description
Simple A csolution.yml template with a single cproject.yml.
Multicore A csolution.yml template with multiuple cproject.yml each targeting one processor of a multicore device.
TrustZone A csolution.yml template with a non-secure cproject.yml and an optional secure cproject.yml.
UnitTest A csolution.yml template that shares one HAL clayer.yml with multiple cproject.yml files for unit testing.

To use these templates copy the content of the folder to your own application folder. Then adapt the names accordingly and add missing information.

Overall Workflow

  1. Device and/or board software packs

    • Visit www.keil.arm.com - Hardware - Boards or Devices to identify software packs for your hardware.
    • Use cpackget add to install these software packs.
  2. Adapt the csolution.yml and cproject.yml files to your application

    • Enter the device and/or board information along with software packs in csolution.yml.
    • Add source files, software components, and potentially software layers to cproject.yml.

Useful Commands

During the process the following CMSIS-Toolbox commands are useful to solve common problems:

List Available Devices or Boards

error csolution: specified device '...' was not found among the installed packs.

Use the csolution tool with the related csolution.yml file to list devices and/or boards that are available in the specified software packs. If the device or board is not listed, check without specifying the csolution.yml file.

csolution list devices -s MyName.csolution.yml      # list device or board of the specified packs
csolution list boards                               # list device or board of all installed packs

List Available Components

warning csolution: dependency validation for context '...' failed

The warning itself may list already required components that may be added to the cproject.yml file. Use the csolution tool with the related csolution.yml file to list components available in the specified software packs. If the component is not listed, check without specifying the csolution.yml file.

csolution list components -s MyName.csolution.yml   # list components of the specified packs
csolution list components                           # list components of all installed packs

List Available Layers

Use the csolution tool with the related csolution.yml file to list layers available in the specified software packs.

csolution list layers -s MyName.csolution.yml       # list layers of the specified packs