Versions Compared

Key

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

Table of Contents
printablefalse

Prerequisites 
Anchor
Perequisites
Perequisites

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/HTTPsHTTP-server.

Additional Modules

µC/HTTPs depends HTTP-server depends on other modules to run. First, it needs the presence of a RTOS. Furthermore, µC/CPU, µC/LIB, µC/Common and µC/TCP-IP modules are required.

If you are using one of the two Micriµm OS RTOS, complete documentation can be found for µC/OS-II and µC/OS-III. Refer to those guides for more information on the requirements, installation, configuration and running of those RTOS.

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 µCThe µC/TCP-IP stack is a compact, reliable, high-performance TCP/IP protocol stack which provide the socket to the HTTP application layer. The complete µC/TCP-IP  documentation can be found here.

µC/Common regroups modules use commonly by all the Micriµm products. It must therefore also be include in your project.

Downloading the Source Code
Anchor
Downloading the source code
Downloading the source code

µC/HTTPs HTTP-server can be downloaded from the Micrium customer portal as all the other required modules. It is part of the µC/HTTP package. The distribution package includes the full source code and documentation. 

Depending if you bought a package or individual components, either you would find uCµC/HTTPs HTTP source code with the µC/TCP-IP package or you would have to download the µC/HTTPs HTTP component from the customer portal.

You can log into the Micrium Micriµm customer portal at the address below to begin your download (you must have a valid license to gain access to the file):

http://micrium.com/login

Installing the Files
Anchor
Installing the Files
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 Installing HTTPsFigure - Directory Tree for µC/HTTP-server. In the example, all Micriµm products sub-folders shown in Installing HTTPsFigure - Directory Tree for µC/HTTP-server will be located in C:\Micrium\Software\. The Micriµm µC/OS-III RTOS has been chosen for this example.

 

 Image Added