diff options
-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
|