Forum Discussion
Altera_Forum
Honored Contributor
15 years agoDirectives define in Nios II development compiler settings
Hi,
In Nios II development tool, where to define compiler directives, such as # define DHCP_SERVER thank you, OnePlusOne3 Replies
- Altera_Forum
Honored Contributor
Which Version do you use?
NIOS 10.0 EDS: you can set it under properties->nios ii application properties. There is a field called defined symbols. Put there "-d<symbol to define>" for example "-ddhcp_server". NIOS IDE 8.1: Go to properties->c/c++ build and then choose the tab tool settings. Select Preprocessor and add your define under defined symbols. Regards, Philipp - Altera_Forum
Honored Contributor
Philipp,
Thank you. - Altera_Forum
Honored Contributor
Ok
I will try to give you an advice