Specifications

Table 2-3: Location and Argument to Run Shell Script from Eclipse
Platform Location Argument
Windows ${env_var:QUARTUS_ROOTDIR}\bin\cygwin\
bin\sh.exe
-c "<script name> <script args>"
Linux ${env_var:SOPC_KIT_NIOS2}/bin/<script
name>
<script args>
Table 2-4: Location and Argument Values Used to Run elf2hex --help from Eclipse
Platform Location Argument
Windows ${env_var:QUARTUS_ROOTDIR}\bin\cygwin\
bin\sh.exe
-c "elf2hex --help"
Linux ${env_var:SOPC_KIT_NIOS2}/bin/elf2hex --help
6. On the Build tab, ensure that Build before launch and its related options are set appropriately.
By default, a new tools configuration builds all projects in your workspace before executing the
command. This might not be the desired behavior.
7. Click Run. The command executes in the Nios II Command Shell, and the command output appears
in the Eclipse Console tab.
Related Information
Getting Started from the Command Line on page 3-1
Must Use Nios II Build Configuration
Although Eclipse can support multiple build configurations, you must use the Nios II build configuration
for Nios II projects.
Note:
If your project was created with version 10.1 or earlier of the Nios II SBT, you must re-import it to
create the Nios II launch configuration correctly.
CDT Limitations
The following tables describe the Eclipse CDT features not supported by the Nios II plugins. The features
listed in the left column are supported by the Eclipse CDT plugins, but are not supported by Nios II
plugins; and the right column lists alternative features supported by the Nios II plugins.
Table 2-5: New Project Wizard
Unsupported CDT Feature Alternative Nios II Feature
C/C++
C Project
C++ Project
Convert to a C/C++ Project
Source Folder
To create a new project, use one of the following
Nios II wizards:
Nios II Application
Nios II Application and BSP from Template
Nios II Board Support Package
Nios II Library
2-38
Must Use Nios II Build Configuration
NII5V2
2015.05.14
Altera Corporation
Getting Started with the Graphical User Interface
Send Feedback