Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Real time embedded FreeRTOS mailing list 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT Training




Loading

how to generate a httpd_fsdata.c

Posted by Bill Yang on January 29, 2010
Hi,

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.

Thanks,
Bill

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?

Regards,
Bill

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.

Regards.

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

Regards,
Stefano


[ Back to the top ]    [ About 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.

Latest News:

FreeRTOS V9.0.0 is now available for download.


Free TCP/IP and file system demos for the RTOS


Sponsored Links

⇓ Now With No Code Size Limit! ⇓
⇑ Free Download Without Registering ⇑


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Renesas Electronics Gold Alliance RTOS Partner.jpg

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Atmel RTOS partner supporting ARM Cortex-M3 and AVR32 microcontrollers

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

Xilinx Microblaze and Zynq partner

Silicon Labs low power RTOS partner

Altera RTOS partner for Nios II and Cortex-A9 SoC

Freescale Alliance RTOS Member supporting ARM and ColdFire microcontrollers

Infineon ARM Cortex-M microcontrollers

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

Cypress RTOS partner supporting ARM Cortex-M3

Fujitsu RTOS partner supporting ARM Cortex-M3 and FM3

Microsemi (previously Actel) RTOS partner supporting ARM Cortex-M3

Atollic Partner

IAR Partner

Keil ARM Partner

Embedded Artists