Add documentation
This commit is contained in:
parent
a41efba6b4
commit
ed9d31ef7c
2 changed files with 14 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
#include <avr/eeprom.h>
|
#include <avr/eeprom.h>
|
||||||
|
|
||||||
/* Link layer ipv6 address will become fe80::11:22ff:fe33:4455 */
|
/* Link layer ipv6 address will become fe80::11:22ff:fe33:4456 */
|
||||||
uint8_t mac_address[8] EEMEM = {0x02, 0x11, 0x22, 0xff, 0xfe, 0x33, 0x44, 0x56};
|
uint8_t mac_address[8] EEMEM = {0x02, 0x11, 0x22, 0xff, 0xfe, 0x33, 0x44, 0x56};
|
||||||
uint8_t server_name[16] EEMEM = "muninn";
|
uint8_t server_name[16] EEMEM = "muninn";
|
||||||
uint8_t domain_name[30] EEMEM = "localhost";
|
uint8_t domain_name[30] EEMEM = "localhost";
|
||||||
|
|
|
@ -19,3 +19,16 @@ code as follows:
|
||||||
3ffe:0501:ffff:0100:0206:98ff:fe00:0232
|
3ffe:0501:ffff:0100:0206:98ff:fe00:0232
|
||||||
- Finally you can use 'wget http://[3ffe:0501:ffff:0100:0206:98ff:fe00:0232]'
|
- Finally you can use 'wget http://[3ffe:0501:ffff:0100:0206:98ff:fe00:0232]'
|
||||||
to get the web page (index.html file)
|
to get the web page (index.html file)
|
||||||
|
|
||||||
|
Two alternate servers 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.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue