Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem


how to generate a httpd_fsdata.c

Posted by Bill Yang on January 29, 2010

I wonder if any one can tell me how to generate a httpd_fsdata.c and httpd_strings.c files from the shtml files if they are modified. I saw there are two files, makefsdata and makefsstrings, under the webserver subdirectory, but I don't have idea how to use them. What is the command syntax or usage?

I am using the demo project of CORTEX_LM3Sxxxx_IAR_Keil from FreeRTOS v5.03.


RE: how to generate a httpd_fsdata.c

Posted by Dave on January 30, 2010
makefsdata is a perl script so you need to have perl installed to use it. If you are using Linux you can probably just type "makefsdata". If you are using windows then you will have to type "perl makefsdata".

RE: how to generate a httpd_fsdata.c

Posted by Bill Yang on February 1, 2010
Hi Davedoors,

Thank you for your help, but I wonder if there is any option associated with this makefsdata command. I also curious why FREERTOS put this webserver sample in to the demo without any description of how to use/modify the webserver, for example, a README file. I saw Luminary StellarisWare demo that there is a makefsdata file with usages to explain how to use it. I wonder if they (from FREERTOS and Luminary) are the similar to or comparable, so I just use it to generate a http_fsdata.c?


RE: how to generate a httpd_fsdata.c

Posted by Richard on February 1, 2010
Take a look at the uIP WEB site - they have the documentation there.


RE: how to generate a httpd_fsdata.c

Posted by Stefano Oliveri on February 2, 2010
Hi Bill,
I make a simple Windows GUI to generate the read-only file system image suitable with lwIP web server.
Launch it and then press the Open button, select the root_folder of your web server files and then select the output C source file. That's all. It should work.
If you want to try, you find it (Make_fsdata) as attachment at the bottom of the following web page: http://developers.stf12.net/Ethernet-demo


[ Back to the top ]    [ About FreeRTOS ]    [ Privacy ]    [ Sitemap ]    [ ]

Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

Meet Richard Barry and learn about running FreeRTOS on RISC-V at FOSDEM 2019

Version 10.1.1 of the FreeRTOS kernel is available for immediate download. MIT licensed.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


FreeRTOS and other embedded software careers at AWS.

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers


STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS

Xilinx Microblaze and Zynq partner