A newer version of this document is available. Customers should click here to go to the newest version.
3.2.1.1. niosv-bsp
Usage
niosv-bsp <FUNCTION> [OPTIONS] settings.bsp
Description
Create a BSP CMakeLists.txt that can compile the BSP library file. A toolchain.cmake file is also created, and it contains toolchain options such as C compiler, C++ compiler, and link flags to build the Nios® V processor software projects. CMakeLists.txt uses both files when generating the application project.
The default BSP Tcl scripts run unless specified otherwise during BSP creation. The scripts are available in <Intel Quartus Prime installation directory>/niosv/scripts/bsp-defaults folder.
| Use Case | Function | Example | 
|---|---|---|
|   Quartus® Prime Pro Edition:  Creates a new settings file and generates the BSP files in the BSP directory.  |  
       -c, --create |   niosv-bsp -c -s=<path to .qsys file> -t=<bsp type> [OPTIONS] settings.bsp  |  
      
|   Quartus® Prime Standard Edition:  Creates a new settings file and generates the BSP files in the BSP directory.  |  
       -c, --create |   niosv-bsp -c -s=<path to .sopcinfo file> -t=<bsp type> [OPTIONS] settings.bsp  |  
      
| Updates the existing settings file and generates the BSP files in the BSP directory. | -u, --update | niosv-bsp -u [OPTIONS] settings.bsp | 
| Generates the BSP files in the BSP directory according to the existing settings file. | -g, --generate | niosv-bsp -g [OPTIONS] settings.bsp | 
| Queries the BSP settings file. Requires extra options to query individual BSP settings. | -q, --query |  niosv-bsp -q -E=<exported tcl script name>   [OPTIONS] settings.bsp  |  
      
| Options | Description | 
|---|---|
| -p, --quartus-project=<path to .qpf file> |   The Quartus® Prime Project File.  |  
      
| -s, --qsys=<path to .qsys file> |   The Platform Designer.  |  
      
| -b, --bsp-dir=<bsp directory> |  
        
  |  
      
| -t, --type=<bsp type> |  
        
  |  
      
| -E, --export-as-tcl=<exported tcl script name> |   The exported Tcl script file name based on the queried BSP project.  |