diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2008-05-31 07:49:30 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2008-05-31 07:49:30 +0000 |
commit | 70a9f7f82c8c71ae2a6b499d0f3448cbb190a29c (patch) | |
tree | 8fae20945faa8b3dbe4b2311d52664963fd9d681 /demos | |
parent | 9c26afc8fde6d30d2149a844cb53e45507a7b5f7 (diff) | |
download | ChibiOS-70a9f7f82c8c71ae2a6b499d0f3448cbb190a29c.tar.gz ChibiOS-70a9f7f82c8c71ae2a6b499d0f3448cbb190a29c.tar.bz2 ChibiOS-70a9f7f82c8c71ae2a6b499d0f3448cbb190a29c.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@314 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos')
-rw-r--r-- | demos/ARM7-AT91SAM7X-WEB-GCC/readme.txt | 4 | ||||
-rw-r--r-- | 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 <httpd.h>
#include <clock-arch.h>
-//#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
|