Specifications
Nios II Software Build Tools
The Nios II SBT utilities and scripts provide the functionality underlying the Nios II SBT for Eclipse. You
can create, modify, and build Nios II programs with commands typed at a command line or embedded in
a script.
You can call these utilities and scripts on the command line or from the scripting language of your choice
(such as perl or bash).
Note: For usage information, enter "--help" after the command and a list of required and optional
arguments for the command appears.
Table 4-13: Utilities and Scripts Included in the Nios II SBT
Command Summary Utility Script
nios2-app-generate-makefile Creates an application makefile x
nios2-lib-generate-makefile Creates a user library makefile x
nios2-app-update-makefile Modifies an existing application makefile x
nios2-lib-update-makefile Modifies an existing user library makefile x
nios2-bsp-create-settings Creates a BSP settings file x
nios2-bsp-update-settings Updates the contents of a BSP settings file x
nios2-bsp-query-settings Queries the contents of a BSP settings file x
nios2-bsp-generate-files Generates all files for a given BSP settings
file
x
nios2-bsp Creates or updates a BSP x
The Nios II SBT utilities reside in the <Nios II EDS install path>/sdk2/bin directory.
For more information about the Nios II SBT, refer to the "Getting Started from the Command Line"
chapter.
Related Information
• Overview of Nios II Embedded Development on page 1-1
• Getting Started from the Command Line on page 3-1
File Format Conversion Tools
File format conversion is sometimes necessary when passing data from one utility to another.
Note:
For usage information, enter "-h" after the command and a list of options for the command
appears.
Table 4-14: File Conversion Utilities
Utility Description
alt-file-
convert
General file conversion tool. Allows you to create a flash image
for the MAX10 device with a bootloader.
bin2flash Converts binary files to a Nios II Flash Programmer File (.flash)
for programming to flash memory.
NII5V2
2015.05.14
Nios II Software Build Tools
4-45
Nios II Software Build Tools
Altera Corporation
Send Feedback