Installing DNSc

Prerequisites 

Before running your first application, you must ensure that you have the minimal set of required tools and components:

  • Toolchain for your specific microcontroller.
  • Development board.
  • µC/TCP-IP stack must be installed properly (a running project). See Installing for further detail about how to install µC/TCP-IP.
  • Source code for µC/DNSc.

Additional Modules

µC/DNSc depends on other modules to run. First, it needs the presence of µC/CPU, µC/LIB µC/Common and µC/TCP-IP modules.

The µC/CPU module regroups the processor's hardware-dependent code. µC/CPU includes many ports for all the different CPU architectures Micriµm supports. You must therefore used the port corresponding to your specific CPU. The complete µC/CPU documentation can be found here

The µC/LIB module is the Micriµm run-time library, implementing the most common standard library functions, macros, and constants. The complete µC/LIB documentation can be found here.

The µC/Common module is the Micriµm utility libraries. The complete µC/Common documentation can be found here.

The µC/TCP-IP stack is a compact, reliable, high-performance TCP/IP protocol stack which provide the socket to the DNS application layer. The complete µC/TCP-IP  documentation can be found here.

Downloading the source code

µC/DNSc can be downloaded from the Micrium repository as all the other required modules. 

Installing the Files

Once all the distribution packages have been downloaded to your host machine, extract all the files at the root of your C:\ drive for instance. The package may be extracted to any location. After extracting all the files, the directory structure should look as illustrated in Figure - Directory Tree for µC/DNSc. In the example, all Micriµm products sub-folders shown in Figure - Directory Tree for µC/DNSc will be located in C:\Micrium\Software\. The Micriµm µC/OS-III RTOS has been chosen for this example.

DNSc Direcectory Tree