Nios® V Processor Software Developer Handbook

ID 743810
Date 10/12/2024
Public
Document Table of Contents

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