lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] Webserver with files


From: Raketnet
Subject: Re: [lwip-users] Webserver with files
Date: Tue, 27 Mar 2007 10:33:01 +0200

On Tue, 27 Mar 2007 09:21:48 +0100, FreeRTOS.org Info wrote
> ----- Original Message ----- 
> From: "Raketnet" <address@hidden>
> To: <address@hidden>
> Sent: Tuesday, March 27, 2007 8:16 AM
> Subject: [lwip-users] Webserver with files
> 
> > I'm using the FreeRTOS lwip Rowley demo on a AT91SAM7x evaluation board.
> > The demo webserver is running good!
> > Now I'm making a webserver which loads the html page from a file. 
> > (fsdata.c)
> > This file contains the html files like this:
> >
> > static const unsigned char data_index_html[] = {
> > /* /index.html */
> > 0x2f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x2e, 0x68, 0x74, 0x6d, 0x6c, 0,
> > 0x3c, 0x21, 0x44, 0x4f, 0x43, 0x54, 0x59, 0x50, 0x45, 0x20,
> > 0x48, 0x54, 0x4d, 0x4c, 0x20, 0x50, 0x55, 0x42, 0x4c, 0x49,
> > 0x43, 0x20, 0x22, 0x2d, 0x2f, 0x2f, 0x57, 0x33, 0x43, 0x2f,
> > 0x2f, 0x44, 0x54
> >
> > It is working well, but now I like to change the website (the html). 
Which
> > software can I use for generating the html file to the hex codes above?
> > Where can I download this software?
> >
> > Regards, Rick
> 
> Download the uIP code.  In the source tree you will find a perl 
> script called makefsdata which will convert your html files into 
> static C structs.
> 
> Regards,
> Richard.
> 
> + http://www.FreeRTOS.org
> A free real time kernel for 8, 16 and 32bit systems.
> 
> + http://www.SafeRTOS.com
> An IEC 61508 compliant real time kernel for safety related systems.
> 
> _______________________________________________
> lwip-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/lwip-users

I now downloaded the makefsdata file, now how do I get it working??
I just downloaded Active Perl, but I don't know how to continue or start the 
makefsdata file.

Regards, Rick




reply via email to

[Prev in Thread] Current Thread [Next in Thread]