From 70a9f7f82c8c71ae2a6b499d0f3448cbb190a29c Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 31 May 2008 07:49:30 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@314 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- demos/ARM7-AT91SAM7X-WEB-GCC/readme.txt | 4 +++- demos/ARM7-AT91SAM7X-WEB-GCC/web/webthread.c | 12 ++++-------- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/demos/ARM7-AT91SAM7X-WEB-GCC/readme.txt b/demos/ARM7-AT91SAM7X-WEB-GCC/readme.txt index 4dedc0658..129f245c2 100644 --- a/demos/ARM7-AT91SAM7X-WEB-GCC/readme.txt +++ b/demos/ARM7-AT91SAM7X-WEB-GCC/readme.txt @@ -9,7 +9,8 @@ The demo runs on an Olimex SAM7-EX256 board. ** The Demo ** 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 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 and GNU userspace programs will work. +The demo requires the patcher uIP 1.0 stack, see: ./ext/readme.txt ** Notes ** diff --git a/demos/ARM7-AT91SAM7X-WEB-GCC/web/webthread.c b/demos/ARM7-AT91SAM7X-WEB-GCC/web/webthread.c index 05fea0c69..727cd3dc1 100644 --- a/demos/ARM7-AT91SAM7X-WEB-GCC/web/webthread.c +++ b/demos/ARM7-AT91SAM7X-WEB-GCC/web/webthread.c @@ -28,14 +28,10 @@ #include #include -//#define IPADDR0 192 -//#define IPADDR1 168 -//#define IPADDR2 1 -//#define IPADDR3 20 -#define IPADDR0 10 -#define IPADDR1 151 -#define IPADDR2 218 -#define IPADDR3 245 +#define IPADDR0 192 +#define IPADDR1 168 +#define IPADDR2 1 +#define IPADDR3 20 #define SEND_RETRY_MAX 10 #define SEND_RETRY_INTERVAL 2 -- cgit v1.2.3