Nios® V Processor Software Developer Handbook

ID 743810
Date 7/08/2024
Public
Document Table of Contents

16.5.4. Tcl Commands for Drivers and Packages

This section describes the tools that you use to specify and manipulate the settings and characteristics of a custom software package or driver. Typically, when creating a custom software package or device driver, or importing a package or driver from another development environment, you need these more powerful tools.

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 Safe C Library.

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.

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