disable ping example

This commit is contained in:
Stefan Lankes 2011-07-02 00:28:41 -07:00
parent fec9f9cfe1
commit 32a36c5e6e
4 changed files with 5 additions and 3 deletions

View file

@ -116,7 +116,7 @@ int STDCALL network_task(void* arg)
// start echo and ping server
echo_init();
ping_init();
//ping_init();
while(!done) {
#ifdef CONFIG_PCI

View file

@ -201,6 +201,7 @@ ping_thread(void *arg)
LWIP_UNUSED_ARG(arg);
if ((s = lwip_socket(AF_INET, SOCK_RAW, IP_PROTO_ICMP)) < 0) {
LWIP_DEBUGF( PING_DEBUG, ("ping: invalid socket\n"));
return;
}

View file

@ -128,7 +128,7 @@ int test_init(void)
mailbox_int32_init(&mbox);
#ifdef CONFIG_LWIP
ping_send_now();
//ping_send_now();
#endif
create_kernel_task(NULL, foo, "Hello from foo1\n");

View file

@ -89,12 +89,13 @@
#define DHCP_DEBUG LWIP_DBG_OFF
#define ETHARP_DEBUG LWIP_DBG_OFF
#define TCPIP_DEBUG LWIP_DBG_OFF
#define SYS_DEBUG LWIP_DBG_ON
#define SYS_DEBUG LWIP_DBG_OFF
#define RAW_DEBUG LWIP_DBG_OFF
#define MEM_DEBUG LWIP_DBG_OFF
#define IP_DEBUG LWIP_DBG_OFF
#define INET_DEBUG LWIP_DBG_OFF
#define NETIF_DEBUG LWIP_DBG_ON
#define TIMERS_DEBUG LWIP_DBG_OFF
#define SOCKETS_DEBUG LWIP_DBG_OFF
#endif