Specifications
The Nios II SBT for Eclipse is based on the popular Eclipse framework and the Eclipse C/C++ develop‐
ment toolkit (CDT) plugins. The Nios II SBT creates your project makefiles for you, and Eclipse provides
extensive capabilities for interactive debugging and management of source files.
The SBT for Eclipse also allows you to import and debug projects you created in the Nios II Command
Shell.
Related Information
• Getting Started with the Graphical User Interface on page 2-1
For more information about the Nios II SBT for Eclipse.
• Eclipse Foundation
For more information about Eclipse, visit the Eclipse Foundation website.
Nios II SBT Command Line
In the Nios II SBT command line development flow, you create, modify, build, and run Nios II programs
with Nios II SBT commands typed at a command line or embedded in a script. You run the Nios II SBT
commands from the Nios II Command Shell.
Note:
To debug your command-line program, import your SBT projects to Eclipse. You can further edit,
rebuild, run, and debug your imported project in Eclipse.
Related Information
Getting Started from the Command Line on page 3-1
For more information about the Nios II SBT in command-line mode
Nios II Programs
Each Nios II program you develop consists of an application project, optional user library projects, and a
BSP project. You build your Nios II program to create an Executable and Linking Format File (.elf) which
runs on a Nios II processor.
The Nios II SBT creates software projects for you. Each project is based on a makefile.
Makefiles and the SBT
The makefile is the central component of a Nios II software project, whether the project is created with
the Nios II SBT for Eclipse, or on the command line. The makefile describes all the components of a
software project and how they are compiled and linked. With a makefile and a complete set of C/C++
source files, your Nios II software project is fully defined.
As a key part of creating a software project, the SBT creates a makefile for you. Nios II projects are
sometimes called "user-managed," because you, the user, are responsible for the content of the project
makefile. You use the Nios II SBT to control what goes in the makefile.
Related Information
Nios II Software Build Tools Reference on page 15-1
For more information about creating makefiles.
NII5V2
2015.05.14
Nios II SBT Command Line
1-3
Overview of Nios II Embedded Development
Altera Corporation
Send Feedback