Re-targeting software projects


In an SDK workspace, you can have multiple hardware projects and a single software project that is portable across these hardware platforms. At any given time, the software BSP project and the software applications associated to that BSP project are targeted (or referenced) to a single hardware project. So to run or debug a software project on another hardware project, you must re-target your software BSP project to another hardware project.

To re-target your software project to another hardware project:

  1. Right-click the software BSP project that your software application currently references and select Properties.
  2. Select Project References.
  3. Uncheck the reference to the current hardware project and select the hardware project which you would like to re-target.
  4. Click OK. SDK re-targets your BSP project and application project to the new hardware project and starts rebuilding the projects.

Alternatively, if you have two BSP projects each targeting a different hardware project, you can re-target your software application to run or debug on a different hardware project by changing the BSP reference accordingly.

To re-target your software project:

  1. Right-click the application project in the Project Explorer view and select Change Referenced BSP.
  2. SDK lists the BSP projects available in the workspace. Select the project to re-target.
  3. Click OK. SDK re-targets your application project to the new BSP project and the new hardware project and starts re-building the project.

Related concepts
Embedded hardware components
Hardware platform specification

Copyright © 1995-2010 Xilinx, Inc. All rights reserved.