git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@314 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
9c26afc8fd
commit
70a9f7f82c
|
@ -9,7 +9,8 @@ The demo runs on an Olimex SAM7-EX256 board.
|
||||||
** The Demo **
|
** The Demo **
|
||||||
|
|
||||||
The demo currently just flashes the LCD background using a thread and serves
|
The demo currently just flashes the LCD background using a thread and serves
|
||||||
HTTP requests at address 192.168.1.20 on port 80.
|
HTTP requests at address 192.168.1.20 on port 80 (remember to change it IP
|
||||||
|
address into webthread.c in order to adapt it to your network settings).
|
||||||
The button SW1 prints an "Hello World!" string on COM1, the button SW2
|
The button SW1 prints an "Hello World!" string on COM1, the button SW2
|
||||||
activates che ChibiOS/RT test suite, output on COM1.
|
activates che ChibiOS/RT test suite, output on COM1.
|
||||||
|
|
||||||
|
@ -17,6 +18,7 @@ activates che ChibiOS/RT test suite, output on COM1.
|
||||||
|
|
||||||
The demo was built using the YAGARTO toolchain but any toolchain based on GCC
|
The demo was built using the YAGARTO toolchain but any toolchain based on GCC
|
||||||
and GNU userspace programs will work.
|
and GNU userspace programs will work.
|
||||||
|
The demo requires the patcher uIP 1.0 stack, see: ./ext/readme.txt
|
||||||
|
|
||||||
** Notes **
|
** Notes **
|
||||||
|
|
||||||
|
|
|
@ -28,14 +28,10 @@
|
||||||
#include <httpd.h>
|
#include <httpd.h>
|
||||||
#include <clock-arch.h>
|
#include <clock-arch.h>
|
||||||
|
|
||||||
//#define IPADDR0 192
|
#define IPADDR0 192
|
||||||
//#define IPADDR1 168
|
#define IPADDR1 168
|
||||||
//#define IPADDR2 1
|
#define IPADDR2 1
|
||||||
//#define IPADDR3 20
|
#define IPADDR3 20
|
||||||
#define IPADDR0 10
|
|
||||||
#define IPADDR1 151
|
|
||||||
#define IPADDR2 218
|
|
||||||
#define IPADDR3 245
|
|
||||||
|
|
||||||
#define SEND_RETRY_MAX 10
|
#define SEND_RETRY_MAX 10
|
||||||
#define SEND_RETRY_INTERVAL 2
|
#define SEND_RETRY_INTERVAL 2
|
||||||
|
|
Loading…
Reference in New Issue