Specifications
Description
Sets the value for the specified BSP setting. Legal values for boolean settings are true, false, 1, and 0. Use
the keyword none instead of an empty string to set a string to an empty value. The set_setting
command is equivalent to the --set command-line option.
Example
set_setting hal.enable_gprof true
update_memory_region
Usage
update_memory_region <name> <slave_desc> <offset> <span>
Options
• <name>: String with the name of the memory region to update.
• <slave_desc>: String with the slave descriptor of the memory device for this region.
• <offset>: String with the byte offset of the memory region from the memory device base address.
• <span>: String with the span of the memory region in bytes.
Description
Updates an existing memory region for the linker script. This memory region must not overlap with any
other memory region and must be within the memory range of the associated slave descriptor. The offset
and span are decimal numbers unless prefixed with 0x.
Example
update_memory_region onchip_ram0 onchip_ram0 0 0x100000
update_section_mapping
Usage
update_section_mapping <section_name> <memory_region_name>
Options
• <section_name>: String with the name of the linker section.
• <memory_region_name>: String with the name of the memory region to map.
Description
Updates the specified linker section. The linker creates the section mappings in the order in which they
appear in the linker script.
Example
update_section_mapping .text onchip_ram0
15-84
update_memory_region
NII5V2
2015.05.14
Altera Corporation
Nios II Software Build Tools Reference
Send Feedback