added device discovery
git-svn-id: svn://svn.berlios.de/openocd/trunk@1141 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
parent
e9f2ecee6e
commit
dddb561d25
|
@ -59,6 +59,7 @@
|
||||||
#include <cyg/athttpd/handler.h>
|
#include <cyg/athttpd/handler.h>
|
||||||
#include <cyg/athttpd/cgi.h>
|
#include <cyg/athttpd/cgi.h>
|
||||||
#include <cyg/athttpd/forms.h>
|
#include <cyg/athttpd/forms.h>
|
||||||
|
#include <cyg/discover/discover.h>
|
||||||
#include <cyg/hal/hal_diag.h>
|
#include <cyg/hal/hal_diag.h>
|
||||||
#include <cyg/kernel/kapi.h>
|
#include <cyg/kernel/kapi.h>
|
||||||
#include <cyg/io/serialio.h>
|
#include <cyg/io/serialio.h>
|
||||||
|
@ -80,6 +81,7 @@
|
||||||
#include <ifaddrs.h>
|
#include <ifaddrs.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#define MAX_IFS 64
|
#define MAX_IFS 64
|
||||||
|
@ -1334,6 +1336,8 @@ static void zylinjtag_startNetwork()
|
||||||
webRunning = true;
|
webRunning = true;
|
||||||
|
|
||||||
diag_printf("Web server running\n");
|
diag_printf("Web server running\n");
|
||||||
|
|
||||||
|
discover_launch();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue