|
Building DSP Projects |
Top Previous Next |
|
Every DSP project in tcpip\src\diamond\examples\ directory has its own makefile. This makefile compiles the stacklib.lib library first (using makefile in tcpip\src\diamond\stacklib\ directory). This library is the TCP/IP stack. The user application is then compiled and linked with stacklib.lib library. The resulting application file (.app) is created in the output subdirectory of inside the project directory.
There is a variable DIAMONDPATH in all makefiles, which represents the path to the diamond directory. You should set this variable according to your environment.
Example: We want to build DSP application communicating via UDP protocol and acting as a sender. This application has name Simple_send and can be found in c:\tcpip\src\diamond\examples\UDP\ directory (assuming you extracted attached package to root directory of disk c). Sequence of commands to compile this project can look like this: $ cd /c/tcpip/src/diamond/examples/UDP/Simple_send $ make Application file is then: c:\tcpip\src\diamond\examples\UDP\output\UDPSend.app |