Specifications

For more information about the command-line utilities provided by the Nios II SBT, refer to “Altera-
Provided Development Tools” in the Nios II Software Build Tools chapter of the Nios II Software
Developer’s Handbook.
Related Information
Nios II Software Build Tools on page 4-45
Scripts
Nios II SBT scripts implement complex behavior that extends the capabilities provided by the utilities.
Command Summary
nios2-bsp Creates or updates a BSP
create-this-app Creates a software example and builds it
create-this-bsp Creates a BSP for a specific hardware design
example and builds it
Note: There are create-this-app scripts for each software example and several create-this-bsp scripts for
each hardware design example. For more information, refer to “Nios II Design Example Scripts” in
the "Nios II Software Build Tools Reference" chapter of the Nios II Software Developer’s Handbook.
Related Information
Nios II Design Example Scripts on page 15-23
nios2-bsp
Usage
nios2-bsp <bsp-type> <bsp-dir> [<sopc>] [<override>]...
Options
<bsp-type>: hal or ucosii.
<bsp-dir>: Path to the BSP directory.
<sopc>: The path to the .sopcinfo file or its directory.
<override>: Options to override defaults.
Description
The nios2-bsp script calls nios2-bsp-create-settings or nios2-bsp-update-settings to create or update a
BSP settings file, and the nios2-bsp-generate-files command to create the BSP files. The Nios II
Embedded Design Suite (EDS) supports the following BSP types:
hal
ucosii
BSP type names are case-insensitive.
This utility produces a BSP of <bsp-type> in <bsp-dir>. If the BSP does not exist, it is created. If the BSP
already exists, it is updated to be consistent with the associated hardware system.
3-2
Scripts
NII5V2
2015.05.14
Altera Corporation
Getting Started from the Command Line
Send Feedback