Nios® V Processor Software Developer Handbook

ID 743810
Date 2/14/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

12.5.4.3. add_sw_setting2

Usage

add_sw_setting2 <setting-name> <setting-type>

Options

  • <setting-name>: Name of the setting to persist in the BSP settings file. This is prepended with BSP Type when persisted.
  • <setting-type>: Type of the setting to persist in the BSP settings file.

Description

This command creates a BSP setting that is associated with a particular software component. The 'set_sw_setting_property' command is required to set the values for fields pertaining to a BSP software setting definition.

Example

add_sw_setting2 MY_FAVORITE_SETTING unquoted_string