
Listing 2-4. lwip_sysboot_threadtype_RunFunction()
Implementation
2-12
Getting Started with ADSP-BF537 EZ-KIT Lite
int m_iBufLen;
};
Listing 2-4.
lwip_sysboot_threadtype_RunFunction()
Implementation
void
lwip_sysboot_threadtype_RunFunction(void **inPtr)
{
char ip[32];
/* Initializes the TCP/IP Stack and returns */
if(system_init() == -1)
{
printf("Failed to initialize system\n");
return;
}
/* start stack */
start_stack();
/*
* For debug purposes, printf() IP address to the Vi+
* console window. Likely not needed in final application.
*/
memset(ip,0,sizeof(ip));
if(gethostaddr(0,ip))
{
printf("IP ADDRESS: %s\n",ip);
}
/**
*
Add Application Code here
**/
www.BDTIC.com/ADI