diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-11-06 11:05:19 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-11-06 11:05:19 +0000 |
commit | dddb561d2558ebc7f418ac0395aaed212c38797d (patch) | |
tree | e8190a42cd8a794821ebb97cf027163aafb63b53 /src | |
parent | e9f2ecee6e911ae8a44c05efedde1db1fb5397bc (diff) | |
download | riscv-openocd-dddb561d2558ebc7f418ac0395aaed212c38797d.zip riscv-openocd-dddb561d2558ebc7f418ac0395aaed212c38797d.tar.gz riscv-openocd-dddb561d2558ebc7f418ac0395aaed212c38797d.tar.bz2 |
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.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ecosboard.c b/src/ecosboard.c index 37b3321..7cab487 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(); } |