Specifications
Figure 3-1: Simple Software Project Directory Structure
Quartus II files (e.g. standard.qpf)
Hardware system files (e.g. standard.sopcinfo)
BSP examples (e.g. hal_standard)
<design> (e.g. standard)
software_examples
bsp
create-this-bsp
app
software examples (e.g. hello_world)
create-this-app
Creating a BSP with a Script
A simple method for creating a BSP is to use the nios2-bsp script as in the following example:
nios2-bsp ucosii . ../SOPC/ --cmd enable_sw_package altera_iniche \
--set altera_iniche.iniche_default_if lan91c111
nios2-bsp lwhal . ../user/data/FastNetProject/FastNetHW/
make
Table 3-1: Description of nios2-bsp Arguments
Argument Purpose Further Information
ucosii
Sets the operating system to MicroC/
OS-II
For more information, refer to
“Settings Managed by the Software
Build Tools”.
. Specifies the directory in which the
BSP is to be created
—
../SOPC/ Points to the location of the hardware
project
—
NII5V2
2015.05.14
Creating a BSP with a Script
3-9
Getting Started from the Command Line
Altera Corporation
Send Feedback