Not all demo projects will include this example. If this example is
included in a demo project then it may be necessary to set
mainCREATE_HTTP_SERVER to 1 at the top of
the project's main.c source file to include the example in the
FreeRTOS+TCP is still in the lab
FreeRTOS+TCP is already used in
commercial products and we encourage
you to try it yourself.
Be aware however that we are
still refining its design, and the
source code and documentation do not
yet meet Real Time Engineers Ltd's strict quality standards.
Please use the forum for support,
feedback and ideas,
or contact us directly if you have a specific business interest.
This example uses FreeRTOS+TCP to implement a basic web (HTTP) server that accesses
files from a file system implemented by FreeRTOS+FAT. Some demo projects
store files on a RAM disk, while others store files on non-volatile media
such as an SD card.
The base directory used by the web server is set by the configHTTP_ROOT
constant in FreeRTOSConfig.h.
If a RAM disk is used then a default and very basic HTML file called "freertos.html"
is created in the base directory after it is mounted.
The FTP server can be used to overwrite the
default HTML file with different web content.
NOTE: Performance will be limited when using the FreeRTOS Windows port.
Viewing the default web page served by the FreeRTOS+TCP web server
Click to enlarge