Hi All. I started writing the following, using the link http://lwip.wikia.com/wiki/PPP
############################################################# #include <stdio.h> #include <unistd.h> #include "lwip/tcpip.h" static void tcpip_init_done(void *arg) { if (arg) { *((char *)arg) = 1; } } int main() { int setup = 0; printf("Initializing TCP\n"); tcpip_init(tcpip_init_done, &setup); printf("Done !!!\n"); while(1) { sleep(1); } return 0; } ############################################################# Following is lwipopts.h :: ############################################################# #ifndef __LWIPOPTS_H__ #define __LWIPOPTS_H__ #define NO_SYS 1 #endif ############################################################# Upon compiling, it says that "main.c:18:5: warning: implicit declaration of function ‘tcpip_init’ [-Wimplicit-function-declaration]", even though lwip/tcpip.h is very much in the include-path. Looking at lwip/tcpip.h, it seems that all the function headers are wrapped within #if !NO_SYS So, are there any good starting-points wherein I may implement the TCP/IP/PPP layers for bare-metal? Is that even doable for bare-metal? Thanks and Regards, Ajay
_______________________________________________ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users