Versions Compared

Key

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

...

Refer to the following manuals for further information about MIcrium modules:.

µC/TCP-IP Documentation

µC/OS-II Documentation

µC/OS-III Documentation

µC/LIB Documentation

µC/CPU Documentation

Including µC/DHCPc Source Code

Include the following files in your project tree from the µC/DHCPc source code distribution, as indicated in Figure - µC/DHCPc Source Code

Image Removed

...

Panel
titleµC/DHCPc Source Code

Image Added



As indicated in the Figure - µC/DHCPc Source Code, all the files in the Source folder must be added to your project tree. Furthermore, dhcp-c_os.c/h files of the selected RTOS must be added. 

...

\Micrium\Software\uC-DHCPc
\Micrium\Software\uC-DHCPc\OS\<OS type>
\Micrium\Software\uC-TCPIP
\Micrium\Software\uC-<OS-Version>

 


Copying and Modifying Template Files

Copy the files from the uC-DHCPc configuration folder into your application as illustrated inImage Removed:

Panel
titleFigure - Copying Template Files

Image Added


dhcp-c_cfg.h is a configuration file used to setup set up µC/DHCPc module static parameters  and features such as ports, timeout, broadcast bit and so on. Refer to section Module Configuration for more details on all the configurations inside dhcp-c_cfg.h 

...

Before running the example application, you will need to add the new funtion function call, in your app.c file to initialize and setup the µC/DHCPc module. Section Example Application gives an example of how to initialize µC/DHCPc and start DHCP negotiation on an interface. 

...

#include <Source/dhcp-c.h>