5/12/2015

PowerPac -- IAR PowerPac™ TCP/IP Stack User Guide

http://www.cadfamily.com/a/EDA_PCB/ARM/PowerPac----IAR-PowerPac-TCP-IP-Stack-User-Guide_9993.html

ADDING THE TCP/IP STACK TO AN EXISTING PROJECT
If you want to use the TCP/IP stack in an existing project, you have to add the IAR PowerPac TCP/IP library consistent
to your project requirements.
1 Select Project | Add files and select Library/Object Files (*.r*, *.a, *.o) in the Files of type list. The default
location of the prebuilt IAR PowerPac TCP/IP libraries is Powerpac\TCPIP\Lib. Choose the library of your choice
and confirm it with the Open button.
2 Add the compatible configuration file to your project (for example, IP_Config_SAM7X.c). The configuration file is
located in the corresponding driver subdirectory of the TCPIP\Example\Config directory.
3 You have to add the include path to your project settings. The include path is the path in which the compiler looks for
include files. In cases where the included files (typically header files, .h) do not reside in the same directory as the C
file to compile, an include path needs to be set. To build the project with the added library, choose Project | Options |
C/C++ Compiler | Preprocessor and add the following path to the Additional include directories field:

No comments: