Nios® II Software Developer Handbook

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

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