Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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:.

µC/TCP-IP Documentation

µC/OS-II Documentation

µC/OS-III Documentation

libdocµC/LIB Documentation

µC/CPU Documentation

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:

 µC/Shell Documentation

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/DNSc IPerf Source Code.

Image Added

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-DNScIPerf
\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-DNSc µC/IPerf configuration folder into your application as illustrated in Figure - µC/IPerf Copying Template Files.

Image Added

dns-ciperf_cfg.c/.h pair of files, define µC/DNSc  define µC/IPerf module static parameters and run-time configuration structure. Refer to section Module Configuration for more details on all the configurations inside templates files.

Modifying the HEAP memory configuration

The µC/DNSc 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/DNSc IPerf module. Section Sample Application gives Section Sample Application gives an example of how to initialize µC/DNSc IPerf and resolve a host namelaunch a network throughput test

This code example will need to be modified in accordance with your project. 

Adding Additional includes

Whew When you initialize µC/DNSc IPerf and where call API you need to include the following files.

#include <Source/dns-ciperf.h>
#include  <dns-c_cfg.h> (only required for the initialization)