Specifications
Table 2-2: GUI Actions that Modify an Application or a Makefile with User Source Management
Modification Where Modified
Specifying the application or user library
name
Nios II Application Properties or Nios II Library
Properties dialog box
Specifying a path to an associated BSP Project References dialog box
Specifying a path to an associated user
library
Project References dialog box
Enabling, disabling or modifying compiler
options
Nios II Application Properties or Nios II Library
Properties dialog box
Note: With user source management, the source files shown in the Eclipse Project Explorer view do not
necessarily reflect the sources built by the makefile. To update the Project Explorer view to match
the makefile, right-click the project and click Sync from Nios II Build.
BSP Source Management
Nios II BSP makefiles are handled differently from application and user library makefiles. BSP makefiles
are based on the operating system, BSP settings, selected software packages, and selected drivers. You do
not specify BSP source files directly.
BSP makefiles must be managed by the SBT, either through the BSP Editor or through the SBT
command-line utilities.
Related Information
Using the BSP Editor on page 2-14
For more information about specifying BSPs
Using the BSP Editor
Typically, you create a BSP with the Nios II SBT for Eclipse. The Nios II plugins provide the basic tools
and settings for defining your BSP. For more advanced BSP editing, use the Nios II BSP Editor. The BSP
Editor provides all the tools you need to create even the most complex BSPs.
Tcl Scripting and the Nios II BSP Editor
The Nios II BSP Editor provides support for Tcl scripting. When you create a BSP in the BSP Editor, the
editor can run a Tcl script that you specify to supply BSP settings.
You can also export a Tcl script from the BSP Editor, containing all the settings in an existing BSP. By
studying such a script, you can learn about how BSP Tcl scripts are constructed.
Starting the Nios II BSP Editor
You start the Nios II BSP Editor in one of the following ways:
• Right-click an existing project, point to Nios II, and click BSP Editor. The editor loads the BSP
Settings File (.bsp) associated with your project, and is ready to update it.
• On the Nios II menu, click Nios II BSP Editor. The editor starts without loading a .bsp file.
• Right-click an existing BSP project and click Properties. In the Properties dialog box, select Nios II
BSP Properties > BSP Editor. The editor loads your .bsp file for update.
2-14
BSP Source Management
NII5V2
2015.05.14
Altera Corporation
Getting Started with the Graphical User Interface
Send Feedback