Skip to main content

The Vxprj Utility

·307 words·2 mins
VxWorks Vxprj
Table of Contents
Free Training - This article is part of a series.
Part 11: This Article

Learning Objectives
#

After this section you will be able to:

  • Apply vxprj commands to your projects
  • Import a project made with vxprj into workbench

Overview of the vxprj Utility
#

VxWorks provides the vxprj utility to create, manage, and build VxWorks projects. It is accessible through the command-line interface (CLI) and can be launched inside and outside Workbench. In the case of using it externally, you must import the project into Workbench.

This section will contain multiple code blocks showing the results of using vxprj commands.

Getting Help for vxprj
#

Vxprj has multiple help commands that cover all of its utilities. This short guide will show you how to use the most common ones.

  1. To view the vxprj command groups and general help commands, type vxprj help (or just vxprj).

vxprj help

  1. To get help with project commands, type vxprj project help

vxprj vip help

  1. To get help for a specific subcommand, type vxprj project subcommand help

vxprj vip help

It’s time to learn about how to manage your project with vxprj.
#

Managing Projects with the vxprj Utility
#

In this section, you’ll examine some example commands that you can use with the vxprj utility. In the next few examples, the project will have a VSB called myVSB, a VIP called myVIP, and lastly it will use the board xlnx_zynqmp_3_0_0_1.

  1. You can create a project with the vxprj project create commands.

vxprj utility

  1. You can configure VSB options with the vxprj vxb config commands.

vxprj utility

  1. You can configure VIP components with the vxprj vip component add command.

vxprj utility

  1. You can build a project with the vxprj project build commands.

vxprj utility

To see a list of valid BSPs, execute the vxprj vsb listBsps command. To see a list of valid CPUs, execute the vxprj vsb listCpus command.

Lastly, if you use vxprj externally you will need to import the project into Workbench. This section will explain that process.

Free Training - This article is part of a series.
Part 11: This Article

Related

VxWorks Source Build and Image Projects
·300 words·2 mins
VxWorks VSB VIP
VxWorks Directory Structure and Package Management
·762 words·4 mins
VxWorks Layer
Introduction to Projects and Workspaces
·475 words·3 mins
VxWorks Project Workspaces