Specifications
• You change your hardware design, but all BSP system-dependent settings remain consistent with the
new .sopcinfo file. The following are examples of system changes that do not affect BSP system-
dependent settings:
• Changing a component’s base address
• With the internal interrupt controller (IIC), adding or removing hardware interrupts
• With the IIC, changing a hardware interrupt number
• Changing a clock frequency
• Changing a simple processor option, such as cache size or core type
• Changing a simple component option, other than memory size.
• Adding a bridge
• Adding a new component
• Removing or renaming a component, other than a memory component, the stdio device, or the
system timer device
• Changing the size of a memory component when you are using the default memory map
Note:
Unless you are sure that your modified hardware design remains consistent with your BSP
settings, update your BSP. For more information, refer to the “Updating Your BSP” chapter.
• You want to eliminate any customized source files and revert to the distributed BSP code.
Note:
To revert to the distributed BSP code, you must ensure that you have not disabled generation
on any BSP files.
• You have installed a new version of the Nios II EDS, and you want the updated BSP software
implementations.
• When you attempt to rebuild your project, an error message indicates that the BSP must be updated.
• You have updated or recreated the BSP settings file.
Related Information
Updating Your BSP on page 4-32
How to Regenerate Your BSP
You can regenerate your BSP in the Nios II SBT for Eclipse, or with SBT commands at the command line.
Regenerating Your BSP in Eclipse
In the Nios II SBT for Eclipse, right-click the BSP project, point to Nios II, and click Generate BSP.
For more information about generating a BSP with the SBT for Eclipse, refer to the Getting Started with
the Graphical User Interface chapter of the Nios II Software Developer’s Handbook.
Related Information
Getting Started with the Graphical User Interface on page 2-1
Regenerating Your BSP from the Command Line
From the command line, use the nios2-bsp-generate-files command.
For more information about the nios2-bsp-generate-files command, refer to the Nios II Software Build
Tools Reference chapter of the Nios II Software Developer’s Handbook.
Related Information
Nios II Software Build Tools Reference on page 15-1
NII5V2
2015.05.14
How to Regenerate Your BSP
4-31
Nios II Software Build Tools
Altera Corporation
Send Feedback