Nios II Classic Software Developer’s Handbook

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

15.5.2.35. get_setting

Usage

get_setting <name>

Options

  • <name>: String with the name of the setting to get.

Description

Returns the value of the specified BSP setting. get_setting returns boolean settings with the value 1 or 0. If the value of the setting is an empty string, get_setting returns "none".

The get_setting command is equivalent to the --get command-line option.

Example

puts [get_setting hal.enable_gprof]

Returns:

0