summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-11-06 11:05:19 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-11-06 11:05:19 +0000
commitdddb561d2558ebc7f418ac0395aaed212c38797d (patch)
treee8190a42cd8a794821ebb97cf027163aafb63b53 /src
parente9f2ecee6e911ae8a44c05efedde1db1fb5397bc (diff)
downloadopenocd_libswd-dddb561d2558ebc7f418ac0395aaed212c38797d.tar.gz
openocd_libswd-dddb561d2558ebc7f418ac0395aaed212c38797d.tar.bz2
openocd_libswd-dddb561d2558ebc7f418ac0395aaed212c38797d.tar.xz
openocd_libswd-dddb561d2558ebc7f418ac0395aaed212c38797d.zip
added device discovery
git-svn-id: svn://svn.berlios.de/openocd/trunk@1141 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src')
-rw-r--r--src/ecosboard.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ecosboard.c b/src/ecosboard.c
index 37b33215..7cab4879 100644
--- a/src/ecosboard.c
+++ b/src/ecosboard.c
@@ -59,6 +59,7 @@
#include <cyg/athttpd/handler.h>
#include <cyg/athttpd/cgi.h>
#include <cyg/athttpd/forms.h>
+#include <cyg/discover/discover.h>
#include <cyg/hal/hal_diag.h>
#include <cyg/kernel/kapi.h>
#include <cyg/io/serialio.h>
@@ -80,6 +81,7 @@
#include <ifaddrs.h>
#include <string.h>
+
#include <unistd.h>
#include <stdio.h>
#define MAX_IFS 64
@@ -1334,6 +1336,8 @@ static void zylinjtag_startNetwork()
webRunning = true;
diag_printf("Web server running\n");
+
+ discover_launch();
}