SWPACK: Generate an MDK-ARM Project from a CPRJ file
Information in this knowledgebase article applies to:
I'd like to use the CMSIS project (cprj) description format, described in the CMSIS Pack standard, to generate projects from an xml file. I understand the implementation of the standard will be different, depending on the development environment. How do I use a CPSDC file to create a new MDK-ARM project?
Use "UV4.exe" from the command line and append the cprj file. See below.
Command line: C:\Keil_v5\UV4\UV4.exe C:\...\Arbitrary_File_Name.cprj Note: "C:\Keil_v5\" is the default installation location, so user may have installed the tools to another folder.
This will launch the µVision IDE, generate a µVision project file, beside the CPDSC file, and open the new project. Make sure the file paths to any source files in the "files" tag of the CPDSC are relative to the location of the CPDSC file, so the new project can find source files that do not come from a pack. Close the project to completely save the generated project.
Note: Since MDK 5.30 the support for the toolchain independent project description format (*.cpdsc) is discontinued. This was previously described in CMSIS guide: Project Description (*.cpdsc) Format.
Last Reviewed: Friday, July 31, 2020
of your data.