Nios® V Processor Software Developer Handbook

ID 743810
Date 2/14/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

4.2.2.2. Copying, Moving, or Renaming a BSP

BSP CMakeLists.txt has only relative path references to project source files. Therefore, you are free to copy, move, or rename the entire BSP. If you specify a relative path to the Platform Designer system file when you create the BSP, you must ensure that the .qsys file is still accessible from the new location of the BSP. This file path is stored in the BSP settings file.

You must rebuild the BSP when copying, moving, or renaming a BSP before linking an application with the BSP.

Another way to copy a BSP is to run the niosv-bsp --generate command to populate an empty BSP directory and pass it the path to the BSP settings file of the BSP that you want to copy.

If you rename or move a BSP, you must manually revise any references to the BSP name or location in the application or user library CMakeLists.txt.