Nios II Classic Software Developer’s Handbook

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

15.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 will be 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 will be required to set the values for fields pertaining to a BSP software setting definition.

Example

add_sw_setting2 MY_FAVORITE_SETTING unquoted_string