Nios® II Software Developer Handbook

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

5.5.1. BSP Settings File Creation

Each BSP has an associated settings file that saves the values of all BSP settings. The BSP settings file is in extensible markup language (XML) format and has a .bsp extension by convention. When you create or update your BSP, the Nios® II SBT writes the value of all settings to the settings file.

The BSP settings file does not need to duplicate system information (such as base addresses of devices), because the nios2-bsp-generate-files utility has access to the .sopcinfo file.

The nios2-bsp-create-settings utility creates a new BSP settings file. The nios2-bsp-update-settings utility updates an existing BSP settings file. The nios2-bsp-query-settings utility reports the setting values in an existing BSP settings file. The nios2-bsp-generate-files utility generates a BSP from the BSP settings file.

Figure 15. Interaction between the Nios® II SBT and the BSP Settings File