LPC43xx LWIP + Socket API

2 replies [Last post]
jgorsk
Offline
Joined: 2012-08-27
Posts: 53

Can I use LPC43xx LWIP Socket API in no OS version? I'm getting all kind of compilation errors since I enabled Socket API.

Most errors are in socket.c file. Just one error is in init.c, it's an error directive:

#if ((LWIP_SOCKET || LWIP_NETCONN) && (NO_SYS==1))
  #error "If you want to use Sequential API, you have to define NO_SYS=0 in your lwipopts.h"
#endif

 

0
Your rating: None

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
kaikeraut
Offline
Joined: 2014-02-21
Posts: 9

set LWIP_SOCKET & LWIP_NETCONN both to 1 on lwipopts.h file

kaikeraut
Offline
Joined: 2014-02-21
Posts: 9

hi
i did , set LWIP_SOCKET & LWIP_NETCONN both to 1 on lwipopts.h file

but still getting errors,
if you have lwip with socket enabled,
can you send the code.

Thanks

feedback