Nios® II Software Developer Handbook

ID 683525
Date 8/28/2023
Public
Document Table of Contents

3.4.7. Creating a New BSP

To create a BSP in the Nios II BSP Editor, use the New BSP command in the File menu to open the New BSP dialog box. This dialog box controls the creation of a new BSP settings file. The BSP Editor loads this new BSP after the file is created.

In this dialog box, you specify the following parameters:

  • The .sopcinfo file defining the hardware platform.
  • The CPU name of the targeted processor.
  • The BSP type and version.
Note:

You can select the operating system only at the time you create the BSP. To change operating systems, you must create a new BSP.

  • The operating system version.
  • The name of the BSP settings file. It is created with file extension .bsp.
  • Absolute or relative path names in the BSP settings file. By default, relative paths are enabled for filenames in the BSP settings file.
  • An optional Tcl script that you can run to supply additional settings.

Normally, you specify the path to your .sopcinfo file relative to the BSP directory. This enables you to move, copy and archive the hardware and software files together. If you browse to the .sopcinfo file, or specify an absolute path, the Nios II BSP Editor offers to convert your path to the relative form.