Nios® II Software Developer Handbook

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

16.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