Knowledge Base Article

How do I edit the flag properties in Nios II Application Properties for Nios II Software Build Tools for Eclipse?

Description

If you are using Quartus® II v11.1 software or later versions, you will need to edit the Makefile of the application.
For example, when you set "-DSIZE=1024" to "Defined symbols", edit the Makefile of the application as follows:
  APP_CFLAGS_DEFINED_SYMBOLS := -DSIZE=1024

You can edit (add/remove/change) each of the following Flags in the Makefile.
  - Defined symbols:
    -> APP_CFLAGS_DEFINED_SYMBOLS :=
  - Undefined symboles:
    -> APP_CFLAGS_UNDEFINED_SYMBOLS :=
  - Assembler flags:
    -> APP_ASFLAGS_USER :=
  - Warning flags:
    -> APP_CFLAGS_WARNINGS :=
  - User flags:
    -> APP_CFLAGS_USER_FLAGS :=
  - Linker flags:
    -> APP_LDFLAGS_USER :=

Resolution

This issue will be fixed in a future release of the Quartus II software.

Updated 2 months ago
Version 2.0
No CommentsBe the first to comment