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.
-
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.
-
Adapt the
csolution.yml
andcproject.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
.
- Enter the device and/or board information along with software packs in
During the process the following CMSIS-Toolbox commands are useful to solve common problems:
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
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
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