Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

how to modify preprocessor options in NIOS II?

I am new to Altera NIOS II. I need to add DALT_USE_LCD_16207 to preprocessor option to enable LCD controller while using reduced device for other components. But I could not find where for me to modify preprocessor option. Any help will be appreciated!

I am using NIOS II v9.1 sp2.

Thanks...

3 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Did you ever figure this out, I am in a similar situation.

    Thanks,

    John
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    how about

    Properties (of the Syslib or Project)

    C/C++ Build

    NIOS II Compiler

    Preprocessor

    Define Symbols
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Thanks for the Response Karsten. Just to avoid confusion if someone else runs across this, in 9.1sp2 the definition can be added at:

    Properties

    NIOS II BSP Properties

    Defined Symbols