Nios II Classic Software Developer’s Handbook

ID 683282
Date 5/14/2015
Public
Document Table of Contents

4.7.2.2. When to Regenerate Your BSP

Regenerating your BSP is required (and sufficient) in the following circumstances:
  • 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.