Visible to Intel only — GUID: mwh1416946665200
Ixiasoft
Visible to Intel only — GUID: mwh1416946665200
Ixiasoft
3.4.1. 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
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 | — |
--cmd enable_sw_package altera_iniche | Adds the NicheStack TCP/IP stack software package to the BSP | For more information, refer to “Settings Managed by the Software Build Tools”. For more information, refer to "Software Build Tools Tcl Commands". |
--set altera_iniche.iniche_default_if lan91c111 | Specifies the default hardware interface for the NicheStack TCP/IP Stack - Nios II Edition | For more information, refer to “Settings Managed by the Software Build Tools”. |
The nios2-bsp script uses the .sopcinfo file to create the BSP files. You can override default settings chosen by nios2-bsp by supplying command-line arguments, Tcl scripts, or both.