nes-proj/examples/webserver-ipv6-raven
2010-07-30 20:07:41 +00:00
..
Huginn Add Huginn and Muninn web content 2009-07-23 16:21:56 +00:00
Muninn Add documentation 2009-07-23 23:51:36 +00:00
Makefile Keep httpd-fsdata.c on a $make clean, add documentation. 2010-07-30 20:07:41 +00:00
Makefile.webserver Keep httpd-fsdata.c on a $make clean, add documentation. 2010-07-30 20:07:41 +00:00
README Keep httpd-fsdata.c on a $make clean, add documentation. 2010-07-30 20:07:41 +00:00
webserver6.c

This example features a simple webserver running on top of the IPv6
contiki stack. It differs from the generic webserver6 example in order
to store the web pages in avr flash memory.

The perl script /tools/makefsdata converts the default web content from
/platform/avr-raven/apps/raven-webserver/httpd-fs/*.* into the c source file
/platform/avr-raven/apps/raven-webserver/httpd-fsdata.c.
This file is not deleted in a $make clean so that a rebuild can be done without
perl in the toolchain (e.g. from a Windows cmd window). If any web file is
changed the dependencies will attempt to update httpd-fsdata.c. If perl
is not present, touching httpd-fsdata.c will give it a newer modification date
and allow the build to continue.
  
Two alternate web contents Huginn and Muninn are included in this directory.
Use e.g. $make WEBDIR=Huginn to generate a webserver6-huginn.elf file.
The ipv6 address suffix and server names are specified in the makefsdata.h file.

$make COFFEE_FILES=1 or 3 uses a static coffee file system in eeprom or program
flash memory.  Files can not be created, but existing files can be rewritten
using http POST via upload.html. When switching coffee types a $make clean
should be done to ensure all c source is on the same page (ahem).
-->This is under development and rewrites are not working yet.

Future plans are for $make COFFEE_FILES=2 or 4 for a full coffee file system.