Specifications
get_section_mapping
Usage
get_section_mapping <section_name>
Options
• <section_name>: String with the section name to query.
Description
Returns the name of the memory region for the specified linker section. Returns null if the linker section
does not exist.
Example
puts [get_section_mapping .text]
Returns:
onchip_ram0
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
get_setting_desc
Usage
get_setting_desc <name>
Options
• <name>: String with the name of the setting to get the description for.
NII5V2
2015.05.14
get_section_mapping
15-77
Nios II Software Build Tools Reference
Altera Corporation
Send Feedback