Specifications

Description
Saves a new BSP.
set_bsp_version
Usage
set_bsp_version <version>
Options
<version>: Version of BSP type software element to use.
Description
Sets the version of the BSP operating system software element to a specific value. The value "default'
uses the latest version available. If this call is not used, the BSP is created using the 'default' BSP software
element version.
set_logging_mode
Usage
set_logging_mode <mode>
Options
<mode>: Logging Mode: 'silent', 'default', 'verbose', 'debug'
Description
Sets the verbosity level of the logger. Useful to eliminate tool informative messages
Tcl Commands for BSP Generation Callbacks
If you are defining a device driver or a software package, you can define Tcl callback functions to run
whenever a BSP is generated containing your driver or package. Tcl callback functions enable you to
create settings dynamically for the driver or package. This capability is essential when the driver or
package settings must be customized to the hardware configuration, or to other BSP settings.
Tcl callback scripts are defined and controlled from the *_sw.tcl file associated with the driver or package.
In *_sw.tcl, you can specify where the Tcl functions come from, when function runs, and the scope of each
Tcl function’s operation.
When the BSP is generated with your driver or software package, the settings you define in the callback
scripts are inserted in settings.bsp.
You specify the source of the callback functions with the set_sw_property command, using the
callback_source_file property.
A Tcl callback function can run at one of the following times:
15-90
set_bsp_version
NII5V2
2015.05.14
Altera Corporation
Nios II Software Build Tools Reference
Send Feedback