Site Search

I cannot set the User Flag from the Nios II Application Properties screen for the Nios II SBT.

Nios II

Tool: Nios® II SBT


In the Nios II SBT that comes with Quartus® II v14.1 or earlier, it can be specified at compile time by right-clicking on the application project (without _bsp) ⇒ Properties ⇒ Nios II Application Properties User Flag cannot be set.
A workaround is to edit the Makefile directly.
Open the Makefile in the Nios II SBT application project (without _bsp) and add the flags you want to specify to the following lines.

(Before editing)
APP_CFLAGS_USER_FLAGS :=

(after editing)
APP_CFLAGS_USER_FLAGS := -mcustom-fwrx=0 -mcustom-fwry=1 -mcustom-frdxlo=2

If you save the Makefile, you can see that the Nios II Application Properties are set to the values you specified.


Experienced FAE
Free consultation is available.

From specific product specifications to parts selection, the Company FAE will answer your technical concerns free of charge. Please feel free to contact us.