Quality RTOS & Embedded Software

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




Loading

Help! How to make httpd-fsdata.c in webserver

Posted by Bill Yang on April 6, 2010
Hi,

RE: webserver in FreeRTOS

I wonder if some one know how to make web server httpd-fsdata.c since there is no document or Readme file to explain how to generate this file system C code. I modified the SHTML files and want to generate a new httpd-fsdata.c file, but I have no ideal how to. I also went to uIP web site and downloaded uIPv1.0 reference user menu, but it did not mention any thing regarding httpd-fsdata. Please help to provide more information how to process the httpd-fsdata.c file.

Thanks,
Bill

RE: Help! How to make httpd-fsdata.c in webserver

Posted by Dave on April 6, 2010
The file is generated using a perl script called makefsdata. This is in the demo directory.

RE: Help! How to make httpd-fsdata.c in webserver

Posted by Bill Yang on April 6, 2010
Hi davedoors,

Thanks for your replying. But I am not familiar using the perl programming. Could you or someone please provide me a little more details about to launch makefsdata in perl? for example, launch perl and execute makefsdata from webserver directory etc...

Thanks,
Bill

RE: Help! How to make httpd-fsdata.c in webserver

Posted by Dave on April 6, 2010
1) Make sure you have Perl installed (Google Active Perl or Strawberry Perl if you are using Windows).
2) Open a command prompt and navigate to the directory that contains makefsdata
3) Type "perl makefsdata".

It will overwrite your fsdata so make sure you have a back up first if it contains something you want to keep.

RE: Help! How to make httpd-fsdata.c in webserver

Posted by Bill Yang on April 6, 2010
Hi davedoors,

Thank you very very much. I got Perl and installed it and run perl makefsdata script file and got new httpd-fsdata.c file.

Bill


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




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

Latest News

FreeRTOS kernel V10 is available for immediate download. Now MIT licensed.


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

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