Nios II Classic Software Developer’s Handbook

ID 683282
Date 5/14/2015
Public
Document Table of Contents

11.5. Configuring the NicheStack TCP/IP Stack in a Nios II Program

The NicheStack TCP/IP Stack has many options that you can configure using #define directives in the file ipport.h. The Nios II EDS allows you to configure certain options (that is, modify the #defines in system.h) without editing source code. The most commonly accessed options are available through a set of BSP options, identifiable by the prefix altera_iniche.

Some less-frequently-used options are not accessible through the BSP settings. If you need to modify these options, you must edit the ipport.h file manually.

You can find ipport.h in the debug/system_description directory for your BSP project.

The following sections describe the features that you can configure using the Nios II SBT. Both development flows provide a default value for each feature. In general, these values provide a good starting point, and you can later fine-tune the values to meet the needs of your system.