Specifications

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.
The default Tcl script is used to set the following system-dependent settings:
stdio character device
System timer device
Default linker memory
Boot loader status (enabled or disabled)
If the BSP already exists, nios2-bsp overwrites these system-dependent settings.
The default Tcl script is installed at <Nios II EDS install path>/sdk2/bin/bsp-set-defaults.tcl
When creating a new BSP, this utility runs nios2-bsp-create-settings, which creates settings.bsp in <bsp-
dir>.
When updating an existing BSP, this utility runs nios2-bsp-update-settings, which updates settings.bsp in
<bsp-dir>.
After creating or updating the settings.bsp file, this utility runs nios2-bsp-generate-files, which generates
files in <bsp-dir>
Required arguments:
<bsp-type>: Specifies the type of BSP. This argument is ignored when updating a BSP. This argument
is case-insensitive. The nios2-bsp script supports the following values of <bsp-type>:
hal
ucosii
<bsp-dir>: Path to the BSP directory. Use "." to specify the current directory.
15-20
nios2-bsp
NII5V2
2015.05.14
Altera Corporation
Nios II Software Build Tools Reference
Send Feedback