11.07.2015 Views

CrossWorks for ARM User Guide

CrossWorks for ARM User Guide

CrossWorks for ARM User Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

You can add or replace a file into an existing package using the -r optionmkpkt -r packages/MyNewTarget.hzq -r fileToAddOrReplaceYou can automate the package creation process using a Combining project type.•Using the new project wizard create a combining project in the directory$(StudioDir).•Set the Output File Path property to be$(StudioDir)/packages/mypackage.hzq•Set the Combine command property to $(StudioDir)/bin/mkpkg -c$(CombiningOutputFilePath) $(CombiningRelInputPaths)•Add the files you want to go into the package into the project using the projectexplorer.•Right click on the project node in the project explorer and build.When a package is installed the files in the package are copied into the desired$(StudioDir) relative locations. When a file is copied into the $(StudioDir)/packagesdirectory and it's filename ends with _package.xml the file$(StudioDir)/packages/installed_packages.xml is updated with an entryDuring development of a package you can manually edit this file. The same applies tothe file $(StudioDir)/targets/project_templates.xml which will contain a reference toyour project_templates.xml file.Usage:mkpkg [options] package file1 file2 ..Options-c Create a new package.-d Remove files from a package.-r Replace files in a package.-t List the contents of a package.-v verbose.-V show verbose.330 Chapter 32 mkpkg - package creator

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!