[ ]
 Real time embedded FreeRTOS RSS feed 
Real time embedded FreeRTOS mailing list 
Homepage FreeRTOS Labs FreeRTOS+TCP FreeRTOS+FAT Contact / Enquiries


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.

HTTP Web Server Example
FreeRTOS+TCP and FreeRTOS+FAT Examples

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

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


[ Back to the top ]    [ About FreeRTOS ]    [ FreeRTOS Labs Sitemap ]    [ Main FreeRTOS Sitemap ]    [ ]




Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.