Specifications

Application Name Summary
Zip File System Reads from a file system in flash memory
Note: Some application examples might not be available on some hardware examples, depending on BSP
support.
create-this-bsp
Each BSP subdirectory contains a create-this-bsp script. The create-this-bsp script calls the nios2-bsp
script to create a BSP in the current directory. The create-this-bsp script has a relative path to the
directory containing the .sopcinfo file. The .sopcinfo file resides two directory levels above the directory
containing the create-this-bsp script.
The create-this-bsp script takes no command-line arguments. Your current directory must be the same
directory as the create-this-bsp script. The exit value is zero on success and one on error.
create-this-app
Each application subdirectory contains a create-this-app script. The create-this-app script copies the C/C
++ application source code to the current directory, runs nios2-app-generate-makefile to create a
makefile (named Makefile), and then runs make to build the Executable and Linking Format File (.elf) for
your application. Each create-this-app script uses a particular example BSP. For further information,
refer to the script to determine the associated example BSP. If the BSP does not exist when create-this-
app runs, create-this-app calls the associated create-this-bsp script to create the BSP.
The create-this-app script takes no command-line arguments. Your current directory must be the same
directory as the create-this-app script. The exit value is zero on success and one on error.
Finding create-this-app and create-this-bsp
The create-this-app and create-this-bsp scripts are installed with your Nios II design examples. You can
easily find them from the following information:
Where the Nios II EDS is installed
Which Altera development board you are using
Which HDL you are using
Which Nios II hardware design example you are using
The name of the Nios II software example
The create-this-app script for each software design example is in <Nios II EDS install path>/examples/
<HDL>/niosII_<board type>/<design name>/software_examples/app/<example name>. For example,
the create-this-app script for the Hello World software example running on the triple-speed ethernet
design example for the Stratix
®
IV GX FPGA Development Kit might be located in
c:/altera/100/nios2eds/examples/verilog/niosII_stratixIV_4sgx230/triple_speed_ethernet_design/
software_examples/app/hello_world.
Similarly, the create-this-bsp script for each software design example is in <Nios II EDS install path>/
examples/<HDL>/niosII_<board type>/<design name>/software_examples/bsp/<BSP_type>. For
example, the create-this-bsp script for the basic HAL BSP to run on the triple-speed ethernet design
example for the Stratix IV GX FPGA Development Kit might be located in c:/altera/100/nios2eds/
examples/verilog/niosII_stratixIV_4sgx230/triple_speed_ethernet_design/software_examples/bsp/
hal_default.
15-24
create-this-bsp
NII5V2
2015.05.14
Altera Corporation
Nios II Software Build Tools Reference
Send Feedback