![]() Copy the content of the ZIP file's 01_Create_PDSC directory into your working directory.Unzip the file Pack_with_Software_Components.zip.In a standard µVision installation, you will find it below %localappdata%\Arm\Packs\ARM\CMSIS\ version. Please consult your development tool's documentation for more information on the Pack installation directory structure. Go to the directory \CMSIS\Pack\Tutorials available in the ARM::CMSIS Pack installation.Create a working directory on you PC, for example C:\temp\working.Then, it is extended to show the various features for describing software components. First, a simple Software Pack is created that contains only one software component. This tutorial explains how to create a Software Pack. Pack with Board Support elaborates on the content specific to a BSP.Pack with Device Support adds information on the specific requirements that a DFP has.Pack with Software Components starts with a simple Pack containing only the PDSC file and a single software component and then explains further elements of a Pack in more detail.The following sections show how to create a Software Pack from scratch: Note Steps 3 and 4 are covered automatically if you are using the gen_pack.sh script to generate the pack. PackChk is helpful for the validation of the contents of a Pack. Generate Pack: Any compression tool supporting the ZIP format can be used to create a Pack file.Editors that can validate XML code against a schema file help to find bugs early in the Pack development stage. Create PDSC file: The XML based PDSC file can be created using any text editor.Organize files: For better maintainability, use directories to separate the content of the Pack. ![]() Produce input: Create the files that will be delivered with the Pack (source code, header and library files, documentation).The following image shows the basic steps that are required to create a Software Pack: Note To work with these tutorials, make sure that you have installed the environment that is required for the Bash Script gen_pack.sh as this will be used to verify and create the tutorial packs. In the \CMSIS\Pack\Tutorials directory the following three ZIP files are available: ZIP File The ARM::CMSIS Pack contains tutorials that are explained on the following pages. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2023
Categories |