...
If no project that include µC/TCP-IP is available, you should follow the µC/TCP-IP - Getting Started Guide to start with a working TCP/IP project before starting integrating µC/IPerfcIPerf. Then you can follow the following steps to build and run your first µC/IPerf sample application.
...
Refer to the following manuals for further information about MIcrium Micriµm modules:.
Optional module
µC/IPerf comes with a set of command that can be executed from a shell command line tool. If you want to use it you have to include µC/Shell to your project:
Including µC/IPerf Source Code
Include the following files in your project tree from the µC/IPerf source code distribution, as indicated in Figure - µC/IPerf Source Code.
As indicated in the Figure - µC/DNSc IPerf Source Code, all the files in the Source folder must be added to your project tree.
Compiler settings
Finally, add the following include paths to your project’s C compiler settings:
\Micrium\Software\uC-IPerf
\Micrium\Software\uC-TCPIP
\Micrium\Software\uC-Shell (optional if uC/Shell is used)
Copying and Modifying Template Files
Copy the files from the uC-µC/IPerf configuration folder into your application as illustrated in Figure - µC/IPerf Copying Template Files.
iperf_cfg.h
pair of files, define µC define µC/IPerf module static parameters and run-time configuration structure. Refer to section Module Module Configuration for more details on all the configurations inside templates files.
...
The µC/IPerf Module uses additional heap memory space. Therefore, it is possible that your sample application will require more allocation of heap memory. If ti it is the case, you can increase the HEAP memory size of your sample project, refer to section µC/LIB Memory Management Configuration for more details on the heap usage.
Adding µC/
...
IPerf application function
Before running the sample application, you will need to add the new function call, in your application file to initialize and setup the µC/IPerf module. Section Sample Application gives an example of how to initialize µC/IPerf and launch a network throughput test.
...
Adding Additional includes
Whew When you initialize µC/IPerf and where call API you need to include the following files.
#include <Source/iperf.h>
#include <iperf_cfg.h> (only required for the initialization)