Visible to Intel only — GUID: mwh1416947061562
Ixiasoft
Visible to Intel only — GUID: mwh1416947061562
Ixiasoft
16.5.4. Tcl Commands for Drivers and Packages
For more information about how to manipulate settings on existing software packages and device drivers, refer to “Settings Managed by the Software Build Tools” on page 15–34.
For more information about how to manipulate settings on existing software packages and device drivers, refer to “Tcl Commands for BSP Settings” on page 15–76.
A device driver and a software package are both collections of source files added to the BSP. A device driver is associated with a particular component class (for example, altera_avalon_jtag_uart). A software package is not associated with any particular component class, but implements a functionality such as TCP/IP.
To define a device driver or software package, you create a Tcl script defining its characteristics. This section describes the Tcl commands available to define device drivers and software packages.
For more information about creating Tcl scripts, refer to the “Tcl Scripts for BSP Settings” in the Nios® II Software Build Tools section.
The following commands are available for device driver and software package creation:
- add_sw_property
- add_sw_setting
- add_sw_setting2
- create_driver
- create_os
- create_sw_package
- set_sw_property
- set_sw_setting_property