Visible to Intel only — GUID: brb1653027754132
Ixiasoft
Visible to Intel only — GUID: brb1653027754132
Ixiasoft
16.2.1.2. niosv-bsp
Synopsis
niosv-bsp <FUNCTIONS> [OPTIONS] <BSP FILE>
Description
- create (-c)
- update (-u)
- generate (-g)
- query (-q)
Outputs the files CMakeLists.txt and toolchain.cmake.
A BSP CMakeLists.txt is created to compile the BSP library file. A toolchain.cmake file is also created which contained toolchain options like C compiler, C++ compiler, and link flags required for Nios V processor. The app CMakeLists.txt uses both files. The default BSP TCL scripts run unless specified for create.
By default, the settings file used is <bsp directory>/settings.bsp. You can change the setting by using -s flag.
Usage
# create settings
niosv-bsp -c -p=<.qpf> -s=<.qsys> -t=<bsp-type> [OPTIONS] settings_file
# update settings
niosv-bsp -u [OPTIONS] <BSP FILE>
# generate settings
niosv-bsp -g [OPTIONS] <BSP FILE>
# query settings
niosv-bsp -q [OPTIONS] <BSP FILE>
Example: niosv-bsp -c --quartus-project=top.qpf --qsys=sys.qsys --type=<hal or ucosii> software/bsp/settings.bsp
Functions
Functions | Description |
---|---|
-c, --create |
|
-u, --update |
|
-g, --generate |
|
-q, --query |
|
Options
Options | Description |
---|---|
<1st arg value> |
|
-s, --qsys=<value> |
|
-s, --sopcinfo=<value> |
|
-p, --quartus-project=<value> |
|
-r, --rev=<value> |
|
-t, --type=<value> |
|
-T, --type-version=<value> |
|
-i, --cpu-instance=<value> |
|
-n, --no-default |
|
-E, --export-as-tcl=<value> |
|
-x, --script=<value> |
|
-e, --cmd=<value> |
|
-b, --bsp-dir=<value> |
|
-l, --search-path=<value> |
|
--jvm-max-heap-size=<value> |
|
--help |
|