Nios® II Software Developer Handbook

ID 683525
Date 8/28/2023
Public
Document Table of Contents

5.6. Tcl Scripts for BSP Settings

In many cases, you can fully specify your Nios® II BSP with the Nios® II SBT settings and defaults. However, in some cases you might need to create some simple Tcl scripts to customize your BSP.

You control the characteristics of your BSP by manipulating BSP settings, using Tcl commands. The most powerful way of using Tcl commands is by combining them in Tcl scripts.

Tcl scripting gives you maximum control over the contents of your BSP. One advantage of Tcl scripts over command-line arguments is that a Tcl script can obtain information from the hardware system or pre-existing BSP settings, and then use it later in script execution.

For more information about the Tcl commands used to manipulate BSPs, refer to “Software Build Tools Tcl Commands” in the Nios® II Software Build Tools Reference section.