Nios II Classic Software Developer’s Handbook

ID 683282
Date 5/14/2015
Public
Document Table of Contents

7.8.5.3.5. Setting Generation Name

The setting generationName 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 public.mk and system.h, or the make variable created in the BSP Makefile. The generationName 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 generationName argument.