Nios® V Processor Software Developer Handbook

ID 743810
Date 5/26/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

7.8.5.3.5. Setting Identifier

The identifier argument of add_sw_setting controls the physical name of the setting in the generated BSP files. The physical name corresponds to the definition being created in toolchain.cmake and system.h . The identifier is commonly the text that your software uses in conditionally-compiled code. For example, suppose your software creates a buffer as follows:

unsigned int driver_buffer[MY_DRIVER_BUFFER_SIZE];

You can enter the exact text, MY_DRIVER_BUFFER_SIZE, in the identifier argument.