Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12692 Discussions

How to enable/disable NicheStack features ?

Altera_Forum
Honored Contributor II
1,766 Views

Hi, 

 

I'm a beginner to NicheStack and networking. 

 

Going through some documentation and code, now I know that NicheStack features can be controlled by modifying# defines in ipport.h file. 

 

But is there any documentation stating which flags should be enabled for particular feature ?  

 

For example for full DHCP support, define DHCP_SERVER and DHCP_CLIENT. 

 

Thanks, 

Sanjay
0 Kudos
5 Replies
Altera_Forum
Honored Contributor II
471 Views

Hi SanjayJ 

 

I'm a beginner too and looking for the same documentation. Did you find some? 

 

Thank you 

 

brunjak
0 Kudos
Altera_Forum
Honored Contributor II
471 Views

Hi brunjak, 

 

Unfortunately I did not.  

 

However, I might be able to help you in case you are looking for the thing which I am aware of. :-) 

 

-Sanjay
0 Kudos
Altera_Forum
Honored Contributor II
471 Views

Hi SanjayJ 

 

Thank you for your fast response. I only thought it would be nice to have some documentation. Until now I can work with the configuration which is done in the simple socket server application. 

 

Thank you 

 

Regards 

 

brunjak
0 Kudos
Altera_Forum
Honored Contributor II
471 Views

I would start with the NIOS Eclipse IDE 

Open the system library properties of your project. 

Then press "Software Components ..." 

 

Select the Niche Stack and set the options as you need them.
0 Kudos
Altera_Forum
Honored Contributor II
471 Views

Hi, 

Browse the Altera directories for the file named Nichestack_Ref.zip. 

In my installation I find it in: 

c:\altera\90sp2\nios2eds\components\altera_iniche\UCOSII\31src\doc31.zip 

 

Regards
0 Kudos
Reply